aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-105.js
blob: 0c37eb82dd6aa216f6b867f17a9bee93d99b4d67 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typeof_eq_undefined: {
    options = {
        comparisons: true
    };
    input: { a = typeof b.c != "undefined" }
    expect: { a = typeof b.c != "undefined" }
}

typeof_eq_undefined_unsafe: {
    options = {
        comparisons: true,
        unsafe: true
    };
    input: { a = typeof b.c != "undefined" }
    expect: { a = b.c !== void 0 }
}