summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug554580-2.js
blob: d297f3a46306bb3b9a5c2fa626b08dc3e127a862 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: RangeError
(function() {
  for each(let a in [function() {}, Infinity]) {
    new Array(a)
  }
})()

/* Don't assert/crash. */