You have used several objects such as the string and array objects. You can actually define strings by using the following syntax. You have also used several properties and methods. You have already used the length property of the string object. You can access the properties and methods by using the objects name followed by a period and the property or method like the following.
Objects can also contain other objects.
For example, an array object can contain several string objects or even more array objects which would in turn contain additional objects. You should be beginning to realize the complexity of some parts of Javascript by now. That means many programmers, unlike me, cannot store their birthday in a date object because it is before January 1, 1970. You can use the following methods. These are all methods so the following example would change the day of the month for the date someday from 31 to 1.