Function mozjs::jsapi::JS_SetAllNonReservedSlotsToUndefined

source ·
pub unsafe extern "C" fn JS_SetAllNonReservedSlotsToUndefined(
    obj: Handle<*mut JSObject>,
)
Expand description

Assign ‘undefined’ to all of the object’s non-reserved slots. Note: this is done for all slots, regardless of the associated property descriptor.