Default Parameters
This was one of the ES6 features which were added to set a default value to the function in case no argument is passed.
Example:
Another example:
Last updated
This was one of the ES6 features which were added to set a default value to the function in case no argument is passed.
Example:
Another example:
Last updated