blob: 628429c0a336ae2d3bd9b28f2a17bf6670688861 [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.
//-------------------------------------------------------------------------------------------------------
function foo(a) {
foo.arguments[0] = "Changed";
WScript.Echo("Arguments : " + foo.arguments[0]);
}
foo("Orig");
function foo2(a) {
for (var i = 0; i < 1; i++) {
foo2.arguments[0] = "Changed";
// Bailout point
WScript.Echo("Arguments : " + foo2.arguments[0]);
}
}
foo2("Orig");