This recursively redirects the prototype of JSON objects to the referenceObject. This is used for default options.
The original object.
The Element if the referenceObject is an Element, or a new object inheriting from the referenceObject.
This recursively redirects the prototype of JSON objects to the referenceObject. This is used for default options.
Param: referenceObject
The original object.
Returns
The Element if the referenceObject is an Element, or a new object inheriting from the referenceObject.