// create an ArrayBuffer with a size in bytes
var buffer = new ArrayBuffer(16);

console.log(ArrayBuffer.isView(new Int32Array()));
// expected output: true