text
stringlengths
0
8.81k
The object to clone.
deep
boolean
false
optional
If true, all properties will be deep cloned recursively.
Returns:
The cloned object.
combine(object1, object2, deep) → object
engine/Source/Core/combine.js 35
Merges two objects, copying their properties onto a new combined object. When two objects have the same
property, the value of the property on the first object is used. If either object is undefined,
it will be treated as an empty object.
Name
Type
Default
Description
object1
object
optional
The first object to merge.
object2
object
optional
The second object to merge.
deep
boolean
false
optional