Share via


delete Operator (JScript 5.6) 

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


delete expression

Remarks

The expression argument is a valid JScript expression that usually results in a property name or array element.

If the result of expression is an object, 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.

Requirements

Version 3

See Also

Concepts

Operator Precedence (JScript 5.6)
Operator Summary (JScript 5.6)