JS

JavaScript ES6 - What is spread operator

18.

How can the spread operator be used to concatenate two arrays in JavaScript ES6?

[array1, ...array2]

[...array1, array2]

...[array1, array2]

[...array1, ...array2]