aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1787.js
blob: 43d1f1be426aba0ac21d2ab808d23f5756bc4871 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
unary_prefix: {
    options = {
        evaluate: true,
        reduce_vars: true,
        unused: true,
    }
    input: {
        console.log(function() {
            var x = -(2 / 3);
            return x;
        }());
    }
    expect: {
        console.log(function() {
            return -2 / 3;
        }());
    }
    expect_stdout: true
}