Object.assign()

Term side of the Card
Topic: Object
Unit title: Object.assign()
Categories: Method
Explanation side of the Card

Explanation: The static method used to copy the values of all enumerable own properties from one or more source objects to a target object. It's useful for merging objects or cloning objects.

Browser compatibility:
  • The chrome browser supports this feature starting from version 45
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 34
  • The safari browser supports this feature starting from version 9
Availability: