const arr1 = Array.from(new Array(1000)).map(() => Math.random()); const arr2 = Array.from(new Array(1000)).map(() => Math.random())
const result = [...arr1, ...arr2];
const result = arr1.concat(arr2);