blob: 806bfaeb5836796d49bb8c455e12c8d0f4c7df2b [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
var shouldBailout = false;
function test1() {
var z1 = function () {
};
(function () {
if (shouldBailout) {
for (var yuijka = 0; yuijka < 6; ++yuijka) {
({ a1: 1 });
}
d;
}
})();
(function () {
`,${[z1]}`;
})();
}
try{
test1();
test1();
shouldBailout = true;
test1();
}
catch(ex){
WScript.Echo(ex.message);
}