aboutsummaryrefslogtreecommitdiff
path: root/test/compress/debugger.js
blob: 7c2707340e0fd958fa9d3e6a429320bbc01c83f6 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
keep_debugger: {
    options = {
        drop_debugger: false
    };
    input: {
        debugger;
    }
    expect: {
        debugger;
    }
}

drop_debugger: {
    options = {
        drop_debugger: true
    };
    input: {
        debugger;
        if (foo) debugger;
    }
    expect: {
        if (foo);
    }
}