blob: 9306f7bdd2af052a83a29f04743b889c356dbb56 [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 g = 1;
function test()
{
// Bailout point
throw g;
}
try
{
test()
}
catch (e)
{
WScript.Echo(e);
}
WScript.Echo(g);