PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/optimize-globals-1.js

http://github.com/zpao/v8monkey
JavaScript | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | 0badb40ff38cffd248eb7a2a538d0301 MD5 | raw file
1
2function testLocalNames() {
3    var NaN = 4;
4    var undefined = 5;
5    var Infinity = 6;
6    return NaN + undefined + Infinity;
7}
8assertEq(testLocalNames(), 15);
9