mozjs_sys::jsapi

Function 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.