PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/zpao/v8monkey
JavaScript | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 1446c238a032765179f037d2967cf1f4 MD5 | raw file
1function f() {
2    var x = false;
3    NaN ? x = Math.floor() : x = Math.ceil();
4    return x * 12345;
5}
6assertEq(f(), NaN);