5 Uses of the ES6 Spread Operator (…)
Cover Photo by Martin Adams on Unsplash
The spread operator was introduced in ES6 (ECMAScript 6). It is basically three dots (…). It expands something into individual elements - hence the term spread.
The spread syntax allows an iterable such as an ...
mahdhir.hashnode.dev3 min read