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

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

Equivalent to Object.assign(target, src): Copies the properties from the src object (which must not be null) to target (which also must not be null).