Overview Default parameters are one of the feature introduced in ES6 (the 6th version of ECMAScript). By using this feature developers can initialize a function parameter with a default value, if no value or “undefined” is passed as an argument to a ...

Markdown supported · ⌘↵ to post
Anand Baraik
Novice in everything, student for life!
A good read.