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