Function mozjs_sys::jsapi::JS::NewArrayObject

source ยท
pub unsafe extern "C" fn NewArrayObject(
    cx: *mut JSContext,
    contents: *const HandleValueArray,
) -> *mut JSObject
Expand description

Create an Array from the current realm with the given contents.