blob: 2ff5bffc4b7c8a73203917ff04f99342fab3711e [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 NeedLoad = 'ValueX';
function runAnimation(obj) {
switch (obj) {
case NeedLoad:
break;
case 'ValueY':
WScript.Echo('ValueY');
break;
case 'Blah':
WScript.Echo('Blah');
break;
default:
if (obj === 'ValueY') {
WScript.Echo('Bug');
}
WScript.Echo('default');
break;
}
}
runAnimation('ValueX');
runAnimation('ValueY');