JavaScript | Modern JavaScript ES6 | Question 5

Last Updated :
Discuss
Comments

Which syntax allows combining multiple arrays into one?

Array.prototype.concat()

Spread operator (...)

Both a and b

Rest operator (...)

Share your thoughts in the comments