0 votes
in JavaScript by
What are the applications of assign method in Javascript?

1 Answer

0 votes
by

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.
...