blob: 12da3d084d848ece70b9f8bb72e5bdea5968c391 [file] [log] [blame]
function test() {
'use strict';
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");