I've done an experiment for lowest and highest integer value and if I go higher it traverses to negative or positive respectively.
var x = new Int32Array(3);
x[0] = 2147483647;
x[1] = -2147483648;
console.log(x[0]);
console.log(x[1]);
console.log(x.length);
//Results:
//2147483647 cannot go above unless -2147483648*
//-2147483648 cannot go above unless 2147483647*
//2
Could someone explain why this happens in JavaScript? Why those values? In other browsers, mobile devices and operating systems, would it be the same affect?