160
rated 0 times
[
161]
[
1]
/ answers: 1 / hits: 87020
/ 7 Years ago, mon, april 17, 2017, 12:00:00
We all know you can do:
let arr1 = [1,2,3];
let arr2 = [3,4,5];
let arr3 = [...arr1, ...arr2]; // [1,2,3,3,4,5]
But how do you make this dynamic to concat N arrays?
More From » ecmascript-6