Resizable buffers
The resize()
method of an ArrayBuffer
and the grow()
method of a SharedArrayBuffer
, constructed with the maxByteLength
option, changes the size of the buffer in place.
Status
Baseline Newly Available (since 2024-07-09)
This feature is expected to reach Baseline Widely Available status on: 2027-01-09
MDN documentation
Specifications
- ECMAScript® 2026 Language Specification (#sec-get-arraybuffer.prototype.resizable), from TC39 (Ecma International).
- ECMAScript® 2026 Language Specification (#sec-get-sharedarraybuffer.prototype.growable), from TC39 (Ecma International).
Browser support
- Chrome 111 Released on 2023-03-07
- Chrome Android 111 Released on 2023-03-07
- Edge 111 Released on 2023-03-13
- Firefox 128 Released on 2024-07-09
- Firefox for Android 128 Released on 2024-07-09
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Usage (according to Chrome Platform Status)
~0.000% of page loads. More data at chromestatus.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist