Static method Object.assign()
The Object.assign()
static method copies all
enumerable own properties from one or more source
objects to a target object. It returns the
modified target object.
The Object.assign()
static method copies all
enumerable own properties from one or more source
objects to a target object. It returns the
modified target object.