blob: 70d69f8c19f0936b6ccd2f3563e70ea63f82b07a [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 glo;
function escape(f)
{
glo = f;
}
function test(param)
{
escape(function() { return param; });
}
test("test1");
WScript.Echo(glo());
test("test2");
WScript.Echo(glo());