Advertisement
728x90
Below are the some of main applications of Object.assign() method,
1. It is used for cloning an object.
2. It is used to merge objects with the same properties.
Advertisement
Responsive Ad
🎯 Practice NowRelated Challenge
JavaScript Coding Exercise 23
Test your knowledge with this interactive coding challenge.
Start CodingAdvertisement
728x90
194of476