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

http://github.com/zpao/v8monkey · JavaScript · 10 lines · 9 code · 1 blank · 0 comment · 2 complexity · 88a3d111c756a6e3e4774f3871f4b8d4 MD5 · raw file

  1. delete b;
  2. delete q;
  3. for each (testBug474769_b in [1, 1, 1, 1.5, 1, 1]) {
  4. (function() { for each (let testBug474769_h in [0, 0, 1.4, ""]) {} })()
  5. }
  6. function testBug474769() {
  7. return testBug474769_b;
  8. }
  9. assertEq(testBug474769(), 1);