blob: aa0037cbee2a6127f816ace871228d80069b093a [file] [log] [blame]
function test() {
var passed = (function(){ try { qux; } catch(e) { return true; }}());
function fn() { passed &= qux === 456; }
const qux = 456;
fn();
return passed;
}
if (!test())
throw new Error("Test failed");