Freeze an object and all nested objects recursively which prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Freezes the object in place and returns the same object for convenience.
Object to freeze
Frozen instance of the object
Freeze an object and all nested objects recursively which prevents the modification of existing property attributes and values, and prevents the addition of new properties.
Freezes the object in place and returns the same object for convenience.