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

var view = new DataView(buffer);
view.setUint32(1, 4294967295); // (max unsigned 32-bit integer)

console.log(view.getUint32(1));
// expected output: 4294967295