Function js::jsapi::JS_DeepFreezeObject
[−]
[src]
pub unsafe extern "C" fn JS_DeepFreezeObject(
cx: *mut JSContext,
obj: Handle<*mut JSObject>
) -> bool
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.