Copy an Object with the Spread Operator

InstructorLaurie Barth

Share this video with your friends

Send Tweet

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