Object Methods

The following table displays a summary of the object methods. Detailed descriptions of each method follow the table.

MethodDescription

eval

Evaluates a string of JavaScript code in the context of the specified object.

toString

Returns a string representing the specified object.

unwatch

Removes a watchpoint from a property of the object.

valueOf

Returns the primitive value of the specified object.

watch

Adds a watchpoint to a property of the object.