Javascript Float32Array reverse()

Introduction

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

Float32Array.reverse();
var uint8 = new Float32Array([1, 2, 3]);
uint8.reverse();//from   www . j  ava 2s .  c  o  m

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



PreviousNext

Related