In this example of JavaScript switch
statement, we have 4 cases without break statement case 10: output += 'So '; case 1: output += 'What '; output += 'Is '; case 2: output += 'Your '; case 3: output += 'Name'; So if we pass value as 1 in the switch statement and execute all the statements till it find break statement and the output will be "What Is Your Name"? See the code snippet: