PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/js/src/jit-test/tests/basic/bug652060.js

http://github.com/zpao/v8monkey
JavaScript | 9 lines | 8 code | 1 blank | 0 comment | 3 complexity | 6778b23d9f28d550bbfb5998085bf45d MD5 | raw file
1var x = -false;
2var y = -0;
3assertEq(-x === x, true);
4assertEq(-x === y, true);
5assertEq(-y !== y, false);
6
7assertEq(-x == x, true);
8assertEq(-x == y, true);
9assertEq(-y != y, false);