Typed arrays (initial support)
Widely available since 2018-01-29 (baseline high)
Typed arrays are ordered lists of JavaScript values, where all values are of the same numerical type, such as 8-bit integers or 32-bit floating point numbers.
Compatibility (view on caniuse.com)
- Chrome 7 Released on 2010-10-19
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 4 Released on 2011-03-22
- Firefox for Android 4 Released on 2011-03-29
- Safari 5.1 Released on 2011-07-20
- Safari on iOS 4.2 Released on 2010-11-22
MDN docs
- Float32Array global object
- Float32Array.Float32Array
- Float64Array global object
- Float64Array.Float64Array
- Int16Array global object
- Int16Array.Int16Array
- Int32Array global object
- Int32Array.Int32Array
- Int8Array global object
- Int8Array.Int8Array
- TypedArray global object
- TypedArray.BYTES_PER_ELEMENT
- TypedArray.buffer
- TypedArray.byteLength
- TypedArray.byteOffset
- TypedArray.join
- TypedArray.length
- Function.name
- TypedArray.reverse
- TypedArray.set
- TypedArray.slice
- TypedArray.sort
- TypedArray.subarray
- TypedArray.toLocaleString
- TypedArray.toString
- Uint16Array global object
- Uint16Array.Uint16Array
- Uint32Array global object
- Uint32Array.Uint32Array
- Uint8Array global object
- Uint8Array.Uint8Array
- Uint8ClampedArray global object
- Uint8ClampedArray.Uint8ClampedArray
Specifications
- https://tc39.es/ecma262/multipage/indexed-collections.html#table-49
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-typedarray-constructors
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-typedarray-objects
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-typedarray.bytes_per_element
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-get-%25typedarray%25.prototype.buffer
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-get-%25typedarray%25.prototype.bytelength
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-get-%25typedarray%25.prototype.byteoffset
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.join
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-get-%25typedarray%25.prototype.length
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-properties-of-the-typedarray-constructors
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.reverse
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.set
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.slice
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.sort
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.subarray
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.tolocalestring
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.tostring
BCD data
- javascript.builtins.Float32Array
- javascript.builtins.Float32Array.Float32Array
- javascript.builtins.Float32Array.Float32Array.constructor_without_parameters
- javascript.builtins.Float32Array.Float32Array.iterable_allowed
- javascript.builtins.Float64Array
- javascript.builtins.Float64Array.Float64Array
- javascript.builtins.Float64Array.Float64Array.constructor_without_parameters
- javascript.builtins.Float64Array.Float64Array.iterable_allowed
- javascript.builtins.Int16Array
- javascript.builtins.Int16Array.Int16Array
- javascript.builtins.Int16Array.Int16Array.constructor_without_parameters
- javascript.builtins.Int32Array
- javascript.builtins.Int32Array.Int32Array
- javascript.builtins.Int32Array.Int32Array.constructor_without_parameters
- javascript.builtins.Int32Array.Int32Array.iterable_allowed
- javascript.builtins.Int8Array
- javascript.builtins.Int8Array.Int8Array
- javascript.builtins.Int8Array.Int8Array.constructor_without_parameters
- javascript.builtins.Int8Array.Int8Array.iterable_allowed
- javascript.builtins.TypedArray
- javascript.builtins.TypedArray.BYTES_PER_ELEMENT
- javascript.builtins.TypedArray.buffer
- javascript.builtins.TypedArray.byteLength
- javascript.builtins.TypedArray.byteOffset
- javascript.builtins.TypedArray.constructor_without_parameters
- javascript.builtins.TypedArray.join
- javascript.builtins.TypedArray.length
- javascript.builtins.TypedArray.name
- javascript.builtins.TypedArray.named_properties
- javascript.builtins.TypedArray.reverse
- javascript.builtins.TypedArray.set
- javascript.builtins.TypedArray.slice
- javascript.builtins.TypedArray.sort
- javascript.builtins.TypedArray.subarray
- javascript.builtins.TypedArray.toLocaleString
- javascript.builtins.TypedArray.toString
- javascript.builtins.Uint16Array
- javascript.builtins.Uint16Array.Uint16Array
- javascript.builtins.Uint16Array.Uint16Array.constructor_without_parameters
- javascript.builtins.Uint16Array.Uint16Array.iterable_allowed
- javascript.builtins.Uint32Array
- javascript.builtins.Uint32Array.Uint32Array
- javascript.builtins.Uint32Array.Uint32Array.constructor_without_parameters
- javascript.builtins.Uint32Array.Uint32Array.iterable_allowed
- javascript.builtins.Uint8Array
- javascript.builtins.Uint8Array.Uint8Array
- javascript.builtins.Uint8Array.Uint8Array.constructor_without_parameters
- javascript.builtins.Uint8Array.Uint8Array.iterable_allowed
- javascript.builtins.Uint8ClampedArray
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray.iterable_allowed