blob: 87000972968ab39e0319a344c316332445c95f24 [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 func(i)
{
var a = 3;
var b;
if (i)
{
a = 4;
b = a + i;
}
else
{
b = a + i;
}
return b;
}
WScript.Echo(func(true));
WScript.Echo(func(false));