Non-standard
Summary
Removes a watchpoint set with the watch() method.
Method of Object |
|
|---|---|
| Implemented in | JavaScript 1.8.6 |
| ECMAScript Edition | none |
Syntax
unwatch(prop)
Parameters
-
prop - The name of a property of the object to stop watching.
Description
The JavaScript debugger has functionality similar to that provided by this method, as well as other debugging options. For information on the debugger, see Venkman.
By default, this method is inherited by every object descended from Object.
Note: The reason for
unwatch() to take the property name prop as its only parameter is due to the "single handler allowing" behavior of the watch() method.Examples
See watch().
Mozilla Developer Network