DEV Community

Discussion on: 9 Extremely Powerful JavaScript Hacks

Collapse
 
iteniasim profile image
iteniasim • Edited

I am new to programming so can someone tell me what ... Means? Its being used in number 2 and number 9. Everyone seems to know about as no one is talking about it.

And that set method could have come in handy a few days ago, gonna have to find the code and change my looping logic to get the unique data from array with set method

Collapse
 
joeberetta profile image
Joe Beretta

... meanse spread/rest operator. U would google it like "JS spread operator"

Collapse
 
iteniasim profile image
iteniasim

Thank you for replying, i kept searching for ... And nothing showed up. But the explanation was very clear and simple once i knew what to search.

Thread Thread
 
joeberetta profile image
Joe Beretta

I found, that these links are useful for you: post on scotch.io and definition of spread on MDN