DEV Community

Discussion on: What's your favorite addition to ES2015+

Collapse
 
laurieontech profile image
Laurie

You can't have 5 favorites rhymes! Just kidding, love it.

Collapse
 
rhymes profile image
rhymes

hahahah ok, so if I have to choose one I'm going to say destructuring.
You can live without spread, arrow functions, literals, generators, includes and asnc await.

Destructuring in function arguments makes the code much more readable instead of having either a super long list of parameters or options as an argument.

Destructuring FTW