Javascript Float64Array reverse()

Introduction

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

Float64Array.reverse();
var uint8 = new Float64Array([1, 2, 3]);
uint8.reverse();/*from w  w  w. j a  v a 2  s. co m*/

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



PreviousNext

Related