How to merge two Large Array into one single Array.
Array is in nested form like -
Array_1 = [["",""],["",""],["",""],....]
Array_2 = [["",""],["",""],["",""],....]
the size of each Array is about 25mb.
How to merge two Large Array into one single Array.
Array is in nested form like -
Array_1 = [["",""],["",""],["",""],....]
Array_2 = [["",""],["",""],["",""],....]
the size of each Array is about 25mb.
The ES6 way (https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Operators/Spread_operator):
let newArray = [...Array_1, ...Array_2];
the old school way:
let newArray = Array_1.concat(Array_2);