Recursively seals (Object.seal) the object (or value). This method DOES NOT support cyclical data structures. This method DOES NOT support advanced object types like Set, Map, or other specialized classes.
Object.seal
The object (or value)
Optional
Options to configure the behaviour of deepSeal
Throw an Error if deepSeal is unable to seal something
The same object (or value) that was passed in
Recursively seals (
Object.seal
) the object (or value). This method DOES NOT support cyclical data structures. This method DOES NOT support advanced object types like Set, Map, or other specialized classes.