blob: 66c354d6394f2909148ef82a3a8a0cf5c57e98f1 [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 go = { foo: 1, print: function () { } };
function test1() {
for (var i = 0; i < 2; ++i) {
if (i % 2 == 1) {
go.print();
x = go.foo;
} else {
arguments = 1;
}
};
WScript.Echo(arguments);
};
test1();
go.bar = 1;
test1();