Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Modern JavaScript: ES6 and beyond!

Learn how to set default parameter values in JavaScript functions

Prior to ES6, it wasn't possible to set default parameter values when defining our functions in JavaScript. In this lesson, we learn how to create default values to our function parameters.

We also see a few examples of how this can come in handy in our applications.