void ng.obj_merge (Object orig_obj, Object new_obj) vs. 1.1.0 Full+Lite

Merge the properties of an new object new_obj with the original object orig_obj. Any new properties from the new object will overwrite the original object properties.

Parameters

Object orig_obj Required vs. 1.1.0 Full+Lite
The original object to be merged.
Object new_obj Required vs. 1.1.0 Full+Lite
The object that will be merged into the original object.

Examples

Using ng.obj_merge(orig_obj, new_obj)
Demo: