Default Function Parameters

We'll see how the new behavior of default function parameters really works. We'll explore its capabilities and see how it helps us reduce the amount of code we need to write.

We'll cover the following...

Default Parameters

The old way to check for function parameters was to do so manually in the function body. If we had to make sure a parameter wasn’t undefined, this is something we’d do.

Access this course and 1400+ top-rated courses and projects.