JSArrayBuffer constructor

  1. @Since('3.6')
JSArrayBuffer(
  1. int length, [
  2. JSObject options
])

Creates a JavaScript ArrayBuffer of size length using an optional options JavaScript object that sets the maxByteLength.

Implementation

@Since('3.6')
external JSArrayBuffer(int length, [JSObject options]);