summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/jaeger/bug554675-2.js
blob: d3b6988c945146bfa832eac7b763552218077bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
function a(code) {
  var f = new Function("for each(let x in[false,'',/x/,'',{}]){if(x<x){(({}))}else if(x){}else{}}");
  try {
    f()
  } catch(e) {}
}
a()
a()

/* Don't crash (CLI only). */