3 Uses of the Three Dots in JavaScript
Make your JavaScript code much more elegant
If you read any modern JavaScript programs, you probably will meet one thing many times — the ellipsis. It is just three dots (…) which was introduced by ES6. Looks very simple and unremarkable? However, it changed JavaScript a lot.