What is the spread operator in JavaScript and how to use it
What is the spread operator anyway?
In JavaScript the syntax of the spread operator is three consecutive dots (...) and it is used to expand an iterable object in list of arguments.
The spread operator was added to JavaScript in ES6.
The (…) spread o...
mytechblog.hashnode.dev3 min read