Javascript Int8Array reverse()

Introduction

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

Int8Array.reverse();
var uint8 = new Int8Array([1, 2, 3]);
uint8.reverse();/*from w w  w.  ja v a 2 s  .  com*/

console.log(uint8); // Int8Array [3, 2, 1]



PreviousNext

Related