Function deepFreeze
- deep
Freeze (data, skipFreezeKeys?): object | [] Parameters
- data: object | []
An object or array.
Optional
skipFreezeKeys: Set<string>A Set of strings indicating keys of objects to not freeze.
Returns object | []
The frozen object.
- data: object | []
Freezes all entries traversed that are objects including entries in arrays.