This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.
Access all courses & lessons on egghead today and lock-in your price for life.
Use the spread operator to copy a flat object. Note that this is a shallow copy.
Access all courses and lessons, track your progress, gain confidence and expertise.