Delete() (Function/internal)

Internal private function.

Availability:

ECMAScript edition - 2

This internal function removes the named property from the object.

This function does not walk the prototype inheritance chain. If it did and a shared property got deleted, that property would disappear from ALL the objects that shared it.

If the property does not exist in the receiving object, the Delete() is assumed to have been successful anyway and true is returned.

If the property is present but has the DontDelete attribute, it cannot be removed so false is returned.

If the property can be deleted, then it is removed and true is returned.

See also:Internal Method

Cross-references:

ECMA 262 edition 2 - section - 8.6.2.5

ECMA 262 edition 3 - section - 8.6.2.5