1 2 3 4 5 6 7 8 9 10 11 12 13 14
var hits = 0; for (var j = 0; j < 9; ++j) { try { (function() { (function() { eval("x") let x })() })() } catch (e) { hits++; } } assertEq(hits, 9);