summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1181354.js
blob: bef39feed6ef51c1b19de4f280cff984ca7167b1 (plain)
1
2
3
4
5
6
7
8
9
for (a of []) {}
var log = "";
(function() {
  for (a of [,0]) {}
  const y = "FOO";
  log += y;
  function inner() { log += y; }
})()
assertEq(log, "FOO");