Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript delete Operator

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

Syntax: JScript delete Operator

delete expression

Arguments: JScript delete Operator

expression

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

Remarks: JScript delete Operator

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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.