Debugger: Difference between revisions

→‎Properties: Make method properties writable.
(→‎Properties: Make method properties writable.)
Line 16: Line 16:
<ul>
<ul>
<li>Properties described here are configurable. This applies to both "own" and prototype properties, and to both methods and data properties. (Leaving these properties open to redefinition will hopefully make it easier for JavaScript debugger code to cope with bugs, bug fixes, and changes in the interface over time.)
<li>Properties described here are configurable. This applies to both "own" and prototype properties, and to both methods and data properties. (Leaving these properties open to redefinition will hopefully make it easier for JavaScript debugger code to cope with bugs, bug fixes, and changes in the interface over time.)
<li>Properties, both data and methods, are non-writable, unless stated otherwise. Since they are configurable, they can be made writable, but assigning to them has no effect on the debuggee unless stated otherwise.
<li>Data properties are non-writable, unless stated otherwise. Since they are configurable, they can be made writable, but assigning to them has no effect on the debuggee unless stated otherwise.
<li>Method properties are writable.
<li>Instances and prototypes are extensible; you can add your own properties and methods to them.
<li>Instances and prototypes are extensible; you can add your own properties and methods to them.
</ul>
</ul>
Confirmed users
497

edits