pub unsafe extern "C" fn JSObjectMakeTypedArray(
ctx: JSContextRef,
arrayType: JSTypedArrayType,
length: usize,
exception: *mut JSValueRef,
) -> JSObjectRefExpand description
Creates a JavaScript Typed Array object with the given number of elements.
ctx: The execution context to use.arrayType: A value identifying the type of array to create. IfarrayTypeisJSTypedArrayType::NoneorJSTypedArrayType::ArrayBufferthenNULLwill be returned.length: The number of elements to be in the new Typed Array.exception: A pointer to aJSValueRefin which to store an exception, if any. PassNULLif you do not care to store an exception.
Returns a JSObjectRef that is a Typed Array with all elements set to
zero or NULL if there was an error.