pub unsafe extern "C" fn JS_AssignObject(
    cx: *mut JSContext,
    target: HandleObject,
    src: HandleObject,
) -> boolExpand 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).