This article covers features introduced in SpiderMonkey 24
undefined to all of the object's non-reserved slots.
Note: This is done for all slots, regardless of the associated property descriptor.
void JS_SetAllNonReservedSlotsToUndefined(JSContext *cx, JSObject *objArg);
||The context in which to clear the object. Requires request. In a
||Object from which to delete all properties.|
undefined to all of
obj's own properties, except the special
__parent__ properties, in a single operation. Properties belonging to objects on
obj's prototype chain are not affected.