Lesson

Provide Default Values for a Function with JavaScript Object Spread Operator

Learn how to use the JavaScript object spread operator to provide default values for a parameter passed to a function.

Duration
1 min
Access
Free
Transcript
Needs source

Learn how to use the JavaScript object spread operator to provide default values for a parameter passed to a function.