Imported Upstream version 1.0.0
[platform/upstream/js.git] / js / src / jit-test / tests / jaeger / bug554675-2.js
1 function a(code) {
2   var f = new Function("for each(let x in[false,'',/x/,'',{}]){if(x<x){(({}))}else if(x){}else{}}");
3   try {
4     f()
5   } catch(e) {}
6 }
7 a()
8 a()
9
10 /* Don't crash (CLI only). */
11