JS

JavaScript ES6 - Spread operator

19.

What does the spread operator (...) do in JavaScript ES6?

It spreads the values of an iterable (like NodeList or Set) into an array.

It spreads the characters of a string into separate elements of an array.

It spreads the properties of an object onto another object.

It spreads the elements of an array into a new array.