@novorender/web_app / mergeRecursive
Function: mergeRecursive()
function mergeRecursive(original, changes): any
Utility function for merging the properties of two objects recursively
Parameters
Parameter | Type | Description |
---|---|---|
original | any | Original, baseline object. |
changes | any | Changes to be applied to baseline object. |
Returns
any
A clone of the original with all the changes applied.
Remarks
This function is similar to Object.assign, only recursive.