Javascript Int32Array reverse()

Introduction

The Javascript Int32Array reverse() method reverses a typed array in place.

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]



PreviousNext

Related