API
assignObj

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.

ParameterTypeDescription
targetTThe target object to copy to.
sourceUThe source object from which to copy properties.