Logo Awesome React

Awesome React

Default Parameters in JavaScript

This is a video from TylerMcGinnis.com's "Modern JavaScript" course - https://tylermcginnis.com/courses/modern-javascript/

In this video you'll learn how ES6's (ES2015) Default Parameters allow you to set default values for any arguments that are undefined when a function is invoked. You'll also learn how to use Default Parameters to make certain arguments required.