PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/modConstZeroRhs.js

http://github.com/zpao/v8monkey
JavaScript | 8 lines | 6 code | 2 blank | 0 comment | 0 complexity | ef1c28c5f4a308962087595508897ddc MD5 | raw file
1
2function f() {
3    var x = 5;
4    var y = 0;
5    return x % y;
6}
7assertEq(f(), NaN);
8