assignObj(target, source): T
| &
| U
Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.
Parameter | Type | Description |
---|---|---|
target | T | The target object to copy to. |
source | U | The source object from which to copy properties. |