New course! Every coder should learn Generative AI!
Try a free lesson0
How do we combine arrays to form a new array? I'm so confused!!😥😭😭😭
New array!!
2 Answers
+ 1
You can use spread operator as of ES6
let arr = [...arr1, ...arr2]
+ 1
Thank you!!
New array!!