DEV Community

Discussion on: Spread vs Rest Operators in JavaScript

Collapse
 
starswan profile image
Stephen Dicks

Does anyone else struggle with this syntax? A 'concise and clean language' seems a strange phrase for JavaScript - I find this extremely hard to read. I also think that functions with varadic arguments (the rest syntax) should mostly be avoided in application code (which is what the vast majority of us are writing)