1×
Become a member
to unlock all features

Level Up!

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

Autoplay

    Copy an Object with the Spread Operator

    javascriptJavaScript

    Use the spread operator to copy a flat object. Note that this is a shallow copy.