blob: 413874993308f3eb37e93209b97eb17b2d7f6980 [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 x = 100;
function f()
{
x--;
return x;
}
for(var i = 0; i < 10; ++i)
{
var a = i;
while(f() > 0 && a > 5)
{
WScript.Echo("f: " + x);
--a;
}
}