Function mozjs::jsapi::JS_FreezeObject

source ·
pub unsafe extern "C" fn JS_FreezeObject(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
) -> bool
Expand description

Freezes an object; see ES5’s Object.freeze(obj) method.