const a = new Array(1e6).fill(0).map( () => Math.random()) const b = new Float64Array(1e6).map( () => Math.random())
a.reverse()
b.reverse()