Function script::dom::bindings::import::module::jsapi::JS::NewArrayObject1

source ยท
pub unsafe extern "C" fn NewArrayObject1(
    cx: *mut JSContext,
    length: usize,
) -> *mut JSObject
Expand description

Create an Array from the current realm with the given length and allocate memory for all its elements. (The elements nonetheless will not exist as properties on the returned array until values have been assigned to them.)