MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 67326 of Object.prototype.unwatch()

  • Revision slug: JavaScript/Reference/Global_Objects/Object/unwatch
  • Revision title: unwatch
  • Revision id: 67326
  • Created:
  • Creator: evilpie
  • Is current revision? No
  • Comment 4 words added, 5 words removed

Revision Content

{{ Non-standard_header() }}

Removes a watchpoint set with the watch method.

Method of Object
Implemented in 1.2
ECMAScript Edition none

Syntax

unwatch(prop)

Parameters

prop 
The name of a property of the object.

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.

Examples

See watch.



{{ languages( { "es": "es/Referencia_de_JavaScript_1.5/Objetos_globales/Object/unwatch", "fr": "fr/R\u00e9f\u00e9rence_de_JavaScript_1.5_Core/Objets_globaux/Object/unwatch", "ja": "ja/Core_JavaScript_1.5_Reference/Global_Objects/Object/unwatch", "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty/Object/unwatch" } ) }}

Revision Source

<p>
{{ Non-standard_header() }}
</p>
<p>Removes a watchpoint set with the <code><a href="/en/Core_JavaScript_1.5_Reference/Global_Objects/Object/watch" rel="internal">watch</a></code> method.
</p>
<table class="standard-table"> <thead> <tr> <th class="header" colspan="2">Method of <a href="/en/JavaScript/Reference/Global_Objects/Object"><code>Object</code></a></th> </tr> </thead> <tbody> <tr> <td>Implemented in</td> <td>1.2</td> </tr> <tr> <td>ECMAScript Edition</td> <td>none</td> </tr> </tbody>
</table> <h3 name="Syntax"> Syntax </h3>
<p><code>
unwatch(<i>prop</i>)
</code>
</p>
<h3 name="Parameters"> Parameters </h3>
<dl><dt> <code>prop</code> </dt><dd> The name of a property of the object.
</dd></dl>
<h3 name="Description"> Description </h3>
<p>The JavaScript debugger has functionality similar to that provided by this method, as well as other debugging options. For information on the debugger, see <a href="en/Venkman">Venkman</a>.
</p><p>By default, this method is inherited by every object descended from <code>Object</code>.
</p>
<h3 name="Examples"> Examples </h3>
<p>See <a href="en/Core_JavaScript_1.5_Reference/Global_Objects/Object/watch">watch</a>.
</p><p><br>
</p><p><br>
</p>
<div class="noinclude">
</div>
{{ languages( { "es": "es/Referencia_de_JavaScript_1.5/Objetos_globales/Object/unwatch", "fr": "fr/R\u00e9f\u00e9rence_de_JavaScript_1.5_Core/Objets_globaux/Object/unwatch", "ja": "ja/Core_JavaScript_1.5_Reference/Global_Objects/Object/unwatch", "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty/Object/unwatch" } ) }}
Revert to this revision