Course lesson
Copy an Object with the Spread Operator
Use the spread operator to copy a flat object. Note that this is a shallow copy.
- Duration
- 1 min
- Access
- Free
- Transcript
- Needs source
Use the spread operator to copy a flat object. Note that this is a shallow copy.