Attributes, Properties
-
Basically, a synonym for a variable in an object.
-
To access: object.attribute
-
parseString.length, for example.
Properties can be other objects. A car object can contain a string
object representing the car's make, for example.
Methods
-
Functions in an object.
-
write() in document, toUpperCase() and toLowercase() in string.
-
Optional: can return a value.
Built In Object: Date
Home
Internet II: Day 3