can.extend
Merge objects together.
can.extend([deep], target, ...obj)
Parameters
-
deep
{Boolean}
OptionalIf true, the merge becomes recursive (aka. deep copy).
-
target
{Object}
The object to merge properties into.
-
obj
{Object}
Objects containing properties to merge.
Returns
{Object}
target, post-merge.
can.extend(target, objectN)
merges the contents of two or more objects together into the first object similarly to jQuery.extend.