blob: 3ba40cd43373fbd98c76c1c550670ba490e76d27 [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 escape;
function test(param)
{
function outer()
{
function inner()
{
escape = nested;
}
inner();
}
function nested()
{
return param;
}
outer();
}
test("test1");
WScript.Echo(escape());
test("test2");
WScript.Echo(escape());