Adding a default parameter value to a function in JavaScript
A default parameter value is used if no argument is passed in when a function is called.
A default parameter value is used if no argument is passed in when a function is called.
The spread operator lists the contents of an iterable in a comma-separated list.
Learn the differences between the keywords var, let and const when declaring variables.
Efficiently store property values and array elements in variables.
Arrow functions use efficient syntax but are best avoided when using "this"
Learn how to better organise code using reusable JavaScript modules.
Easily extract properties from objects and store them in variables
Using the spread operator (...), we can easily capture iterable elements and use them elsewhere.