| Object() The object object is a customizable object which can be filled with whatever properties or methods you have a need for since it is first declared as a variable. It is a very handy and easy to use object, and is very flexible. You would normally create an instance of the Object object, then name it. You can then stuff the data you are working with into it. Examine the syntax and examples below to get a feel for how it works. syntax: var variableName = new Object(objectName) EXAMPLE var newObject = new Object(numberOne); document.write("The 'numberOne' object has been successfully created."); You can see how easy the Object object is to use. In the example above, an object called 'numberOne' has been created. You may now stuff any valid JavaScript data type into the object. The Properties of the object Object are: • prototype The Methods of the object Object are: • toString() • valueOf() |