summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1652732.js
blob: f5df3bc64840e6a5c5a05b433fb13ccd1da89af6 (plain)
1
2
3
4
5
6
7
8
function test() {
  var obj = {};
  obj[{}] = 1;
  f = () => { for (var x of obj) {} };
}
for (var i = 0; i < 5; i++) {
  test();
}