extend Class
Provides only the extend
function.
Item Index
Methods
- extend static
Methods
extend
(
Object
static
-
target
-
[obj]
Extend the given object with properties of an arbitrary amount of other objects
Override priority is determined using the order the objects are given in Each further object has a higher priority then the one before it.
Only actual properties of the given objects will be used not the ones bubbling up through the prototype chain.
Parameters:
-
target
Object -
[obj]
Object optional multipleArbitrary amount of objects which will extend the first one
Returns:
Object:
the extended object