JavaScript Track Detail
What are the applications of the assign method
Below are the some of main applications of Object.assign() method,
- It is used for cloning an object.
- It is used to merge objects with the same properties.
JavaScript Track Detail
Below are the some of main applications of Object.assign() method,