Course contentsShow
JavaScript
Lesson 691 of 2,72316. Object Methods and PatternsPro lesson

Shallow Clone with Object.assign

Using Object.assign({}, source) for shallow cloning and how it differs from spread syntax.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.