August 1999
Intermediate to advanced
1488 pages
72h 53m
English
var variable = new Object(string)
The Object() object is a primitive data type from which all JavaScript objects are derived. Table 6.30 shows the different properties of the Object() object.
| Property | Description |
|---|---|
| constructor | Function that creates an object |
| eval() | Evaluates a string of JavaScript code for the specified object |
| prototype | Prototypes new properties for the specific object |
| toSource() | Returns a string representation for the object |
| toString() | Converts the object to its string representation |
| unwatch | Removes a watchpoint for the object |
| valueOf | Returns the value of the specific object |
| watch | Adds a watchpoint ... |
Read now
Unlock full access