Merge pull request #127 from seancwall/patch-1

Add missing break statements to last example
This commit is contained in:
Ilya Kantor 2017-08-09 23:19:35 +02:00 committed by GitHub
commit 771cf92e80

View file

@ -155,6 +155,7 @@ switch (arg) {
case '0':
case '1':
alert( 'One or zero' );
break;
case '2':
alert( 'Two' );
@ -162,7 +163,7 @@ switch (arg) {
case 3:
alert( 'Never executes!' );
break;
default:
alert( 'An unknown value' )
}