blob: 490260275619089d0fd39a0fd61562fc5e897222 [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.
//-------------------------------------------------------------------------------------------------------
WScript.Echo("Basic string concatenation, II.");
function f(x,y)
{
return x + "." + y;
}
var str = "-";
for(var i = 0; i < 10; ++i)
{
str = f(i,f(str, i));
}
WScript.Echo(str);