/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
- function f() {
- var x = 5;
- var y = 0;
- return x % y;
- }
- assertEq(f(), NaN);