Javascript SharedArrayBuffer byteLength

Introduction

The byteLength accessor property represents the length of an SharedArrayBuffer in bytes.

sab.byteLength
let sab = new SharedArrayBuffer(1024);
console.log(sab.byteLength);



PreviousNext

Related