summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-560998-1.js
blob: 4aa25fd7a269fc0934e8e40a466a4be22111c928 (plain)
1
2
3
4
5
6
7
8
9
10
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
// Contributor: Jesse Ruderman

for (let j = 0; j < 4; ++j) {
  function g() { j; }
  g();
}

reportCompare(0, 0, "ok");