Javascript Uint32Array reverse()

Introduction

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

Uint32Array.reverse();
var uint8 = new Uint32Array([1, 2, 3]);
uint8.reverse();/*  ww  w  .ja v a2  s .  com*/

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



PreviousNext

Related