Namespace: assign

just.assign(target) → {object}

Same as Object.assign, but for ES5 environments.
Source:
just.js, line 174

Parameters:

NameTypeDescription
target
objectWhat to apply the sources' properties to.
...sources
[optional] [nullable]
objectObjects containing the properties you want to apply.

Throws:

if target is null or not an object.

Returns:

target.
Type
object