TechToFreedom
Published in

TechToFreedom

3 Uses of the Three Dots in JavaScript

Make your JavaScript code much more elegant

3 Uses of the Three Dots in JavaScript

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yang Zhou

Full-Stack Engineer 🥷| Top Writer🏆 (Over 1.3 Million Views)