Javascript BigUint64Array reverse()

Introduction

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

BigUint64Array.reverse();
var uint8 = new BigUint64Array([12n, 5n, 8n, 130n, 44n]);
uint8.reverse();/*from   www  .  j a v a2  s .  c  o  m*/

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



PreviousNext

Related