Skip to main content
Go to Latest
function deepFreeze
import { deepFreeze } from "https://deno.land/x/simple_utility@v1.5.0/mod.universal.ts";

Applies Object.freeze() recursively.

Examples

Example 1

const freeze = deepFreeze({
    aaa: {
        bbb: true
    }
});