Skip to content

Truly independent web browser

828 B
Raw Blame
function work() {}
function recover() {}

function nested() {
    try {
        work();
    } catch {
        try {
            work();
        } catch {
            try {
                work();
            } catch {
                try {
                    work();
                } catch {
                    try {
                        work();
                    } catch {
                        try {
                            work();
                        } catch {
                            recover();
                        }
                    }
                }
            }
        }
    }
}

function bound() {
    try {
        work();
    } catch (error) {
        try {
            work();
        } catch ({ message }) {
            recover(error, message);
        }
    }
}

nested();
bound();