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

http://github.com/zpao/v8monkey · JavaScript · 6 lines · 5 code · 1 blank · 0 comment · 0 complexity · 0275f61ed10784c6a2734c493197a61f MD5 · raw file

  1. function f() {
  2. var a = [].length;
  3. return a / a;
  4. }
  5. assertEq(f(), NaN);