byteLength accessor property represents the length of an
SharedArrayBuffer in bytes.
byteLength property is an accessor property whose set accessor function is
undefined, meaning that you can only read this property. The value is established when the shared array is constructed and cannot be changed.
const sab = new SharedArrayBuffer(1024); sab.byteLength; // 1024
|ECMAScript Language Specification |
BCD tables only load in the browser