This feature serves as a merger of
the two objects
Answers
Answered by
0
Answer:
Example 1: Merge Property of Two Objects Using Object. assign() In the above example, two objects are merged into one using the Object. ... assign() method returns an object by copying the values of all enumerable properties from one or more source objects.
Similar questions