JS — Spread operator Utilization at max.?

Aayushi kumar
Aug 31, 2023

The famous three dots (…) while working or understanding the Javascript. Well, those dots are nothing but the spread operator which takes the object and makes it iterative to be copied into another object on demand.

The object can be anything, an array [] or literal object {}. The use of the spread operator is not limited to the arrays or objects, but you can use it with functions, NodeListing, and strings.

Now you ask me why we need it?

For answer to this follow the link to my detailed post — https://medium.com/globant/spread-operator-use-cases-69ea4b16fc02

--

--

Aayushi kumar

Full-stack Web Developer | Angular | JavaScript | Node.js | MongoDB | MySQL | CMS (First Spirit).