The Javascript BigInt64Array reverse() method reverses a typed array in place.
reverse()
BigInt64Array.reverse();
var uint8 = new BigInt64Array([1n, 2n, 3n]); uint8.reverse();// w w w. j av a 2 s . c o m console.log(uint8); // BigInt64Array [3, 2, 1]