aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1787.js
blob: fcef61489a70c68adeb725732bd269765eca618f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
unary_prefix: {
    options = {
        evaluate: true,
        inline: true,
        reduce_funcs: 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
}