ArrayBuffer.prototype.resize()
Baseline
2024
Newly available
Since July 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The resize() method of ArrayBuffer instances resizes the ArrayBuffer to the specified size, in bytes.