DEV Community

Discussion on: Three dots ( … ) in JavaScript

Collapse
 
ben profile image
Ben Halpern

Wonderful explanations, I've found this to be one of the more confusing elements of new JS.

Collapse
 
nhh profile image
Niklas

Me too, it seems to promote a „many positional arguments“ programming style instead of composing things into useful objects 🤔 Also the destructuring on the method definition is a part of this thing... i think

Collapse
 
sagar profile image
Sagar

Yes, Ben I found three dot operator confuse when use try to us in project. Thanks for your feedback.