ConstNode safe clone implementation that doesn't use global structuredClone().
Returns a cloned version of the object.
Only clones static properties. Getters become static properties.
Creates a new object by recursively merging overlays onto a base object. Later objects overwrite fields from earlier objects.
Non-object overlays are ignored.
The base object.
The overriding objects, applied from left to right.
A new merged object.
Creates a new object by recursively merging overlays onto a base object. Existing leaf values are resolved by the resolver function.
Non-object overlays are ignored.
The base object.
The overriding objects, applied from left to right, followed by the resolver function.
A new merged object.
Returns true if the value is a plain object:
{}new Object()Object.create(null)The value to check.
Whether the value is a plain object.
Tools to manipulate JS Objects