Copy an Object with the Spread Operator

Laurie Barth
InstructorLaurie Barth

Share this video with your friends

Send Tweet
Published 3 years ago
Updated a year ago

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