import { deepFreeze } from "https://deno.land/x/simple_utility@v1.4.4/src/deep.ts";
Applies Object.freeze()
recursively.
Examples
Example 1
Example 1
const freeze = deepFreeze({
aaa: {
bbb: true
}
});
Parameters
data: T
import { deepFreeze } from "https://deno.land/x/simple_utility@v1.4.4/src/deep.ts";
Applies Object.freeze()
recursively.
Example 1
const freeze = deepFreeze({
aaa: {
bbb: true
}
});