Function script::dom::bindings::import::module::jsapi::JS_DeepFreezeObject

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

Freeze obj, and all objects it refers to, recursively. This will not recurse through non-extensible objects, on the assumption that those are already deep-frozen.