Assign merges object properties from all supplied objects. If a property already exists, then it is overwritten when merged from left to right.
object
(object): input objectsources
(...object): input source object(s)
(object): returns new object
const someObj = { hold: 44, fast: 14 };
const result = objects.assign(someObj, { hold: 25, your: 19, horses: 4 });
console.log(result);
> { hold: 25, fast: 14, your: 19, horses: 4 }