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

http://github.com/zpao/v8monkey · JavaScript · 10 lines · 5 code · 3 blank · 2 comment · 0 complexity · 77f8d95719b72436aff0fd43989e315b MD5 · raw file

  1. // Use arguments in an eval.
  2. code = " \
  3. function f(a) { var x = a; } \
  4. for (var i = 0; i < 10; i++) { f(5); } \
  5. ";
  6. eval(code);
  7. // Test it doesn't assert.