//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- var foo = function(){ switch(1) { case 1: WScript.Echo(1); break; case 2: break; case 3: break; case 4: break; } } foo(); foo();