The spread operator (the three dots of JavaScript) and its uses
The spread operator lists the contents of an iterable in a comma-separated list.
The spread operator lists the contents of an iterable in a comma-separated list.
Learn about all the new features introduced to JavaScript by ES2018 language update
Using the spread operator (...), we can easily capture iterable elements and use them elsewhere.