1×
Become a member
to unlock all features

Save 40% this week only!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Provide Default Values for a Function with JavaScript Object Spread Operator

    Rich BuggyRich Buggy
    nodeNode.js
    javascriptJavaScript

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

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss