The Javascript Int32Array reverse() method reverses a typed array in place.
reverse()
Int32Array.reverse();
var uint8 = new Int32Array([1, 2, 3]); uint8.reverse();//from ww w .j a v a 2 s . co m console.log(uint8); // Int32Array [3, 2, 1]