FrontendDeveloper.in

JavaScript question detail

What are the applications of the assign method

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.
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399