DEV Community

Discussion on: Default Function Parameters (ES6)

Collapse
 
bycedric profile image
Cedric van Putten

And don't forget that the second option doesn't play nice with "falsy" numbers, like 0. :D