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