MDN self-hosted library · e01.org

SharedArrayBuffer.prototype.byteLength

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const sab = new SharedArrayBuffer(1024);
sab.byteLength; // 1024