The first parameter of the Object.assign method is the target object, and the following parameters are all source objects.
Note that if the target object has the same name as the source object, or if multiple source objects have the same name, the following attributes override the previous attributes.
The first parameter of the Object.assign method is the target object, and the following parameters are all source objects.
Note that if the target object has the same name as the source object, or if multiple source objects have the same name, the following attributes override the previous attributes.