0

How do we combine arrays to form a new array? I'm so confused!!šŸ˜„šŸ˜­šŸ˜­šŸ˜­

New array!!

11th Feb 2019, 9:38 AM
Juliana Anaso
Juliana Anaso - avatar
2 Answers
+ 1
You can use spread operator as of ES6 let arr = [...arr1, ...arr2]
11th Feb 2019, 10:20 AM
Elva
Elva - avatar
+ 1
Thank you!!
11th Feb 2019, 10:26 AM
Juliana Anaso
Juliana Anaso - avatar