Function mozjs::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.