blob: 229dc66d06ff4bcb3a8c80dd501a4fac3f6bb178 [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 = 6;
var giraffe = 8;
var zebra = x + giraffe;
function f(t) {
return t + t;
}
var cat = f(zebra);
rat = cat * 2;
while (rat > 4) {
rat = rat - 3;
cat = cat + 4;
}
var dragon = rat / 2;
WScript.Echo(x)
WScript.Echo(giraffe)
WScript.Echo(zebra)
WScript.Echo(cat)
WScript.Echo(rat)
WScript.Echo(dragon);