#189

New

default params

Reported by Volkan Ozcelik on JavaScript: from Zero to Hero · 14/07/2018 07:08:50

Assigned to:
Volkan Ozcelik
Priority:
Normal
Status:
New
Category:
Lessons
Version:
None

A potential ES6 misconception: default parameters are only applied if the argument is undefined–not if they’re falsy.

Attachments

No attachment has been uploaded, yet.


Loading comments...