Compare Revisions

delete

Revision 32645:

Revision 32645 by Mgjbot on

Revision 32646:

Revision 32646 by SpoilSpot on

Title:
delete
delete
Slug:
JavaScript/Reference/Operators/delete
JavaScript/Reference/Operators/delete
Tags:
JavaScript, delete, Array, Object, Operators
JavaScript, delete, Array, Object, Operators
Content:

Revision 32645
Revision 32646
tt42delete <i>expression</i>
43</pre>
44    <p>
45      where <i>expression</i> must evaluate to a property referen
 >ce, e.g.:
46    </p>
47    <pre class="eval">
42delete <i>objectName</i>48delete <i>variableName</i>
43delete <i>objectName.property</i>49delete <i>objectExpression.property</i>
50delete <i>objectExpression</i>[<i>property</i>]
44delete <i>objectName</i>[<i>index</i>]51delete <i>objectExpression</i>[<i>index</i>]

Back to History