// create an ArrayBuffer with a size in bytes const buffer = new ArrayBuffer(16); console.log(ArrayBuffer.isView(new Int32Array())); // expected output: true