summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/optimize-globals-1.js
blob: 4197a271749e4fb17e1932d7177c1545009763ab (plain)
1
2
3
4
5
6
7
8
9

function testLocalNames() {
    var NaN = 4;
    var undefined = 5;
    var Infinity = 6;
    return NaN + undefined + Infinity;
}
assertEq(testLocalNames(), 15);