Previous PageNext Page

7.4.22 delete Operator

Deletes a property from an object, or removes an element from an array.
 

Syntax

delete expression

Arguments

expression
A valid JScript expression that usually (but does not have to) result in a property name or array element.

Remarks

If the result of expression is an object, and the property specified in expression exists, and the object will not allow it to be deleted, false is returned.
 
In all other cases true is returned.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page