The jQuery extend() method merges the contents of two or more objects together into the first object.
Note: The merge performed by
extend() method is not recursive by default; if a property of the first object is itself an object or array, it will be completely overwritten by a property with the same key in the second or subsequent object.
|targetObj||Required||Specifies an object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument.|
|obj1, ..., objN||Optional||Specifies objects containing additional properties to merge in.|