Module with synchronous objects functions making life easier
- Source:
- Tutorials:
Methods
(inner) update(sourceObject, targetObject)
Update properties from source object to target object recursively. If object property does not exists it will be created in target object. If both source and target properties are arrays, they will be merged with duplicates removed
Parameters:
Name | Type | Description |
---|---|---|
sourceObject |
Object | object with new data |
targetObject |
Object | object to be updated |
- Source: