Skip to content

Commit

Permalink
Merge pull request javascript-tutorial#127 from seancwall/patch-1
Browse files Browse the repository at this point in the history
Add missing break statements to last example
  • Loading branch information
iliakan authored Aug 9, 2017
2 parents 299c3c3 + 8d625e0 commit 771cf92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 1-js/02-first-steps/13-switch/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,15 @@ switch (arg) {
case '0':
case '1':
alert( 'One or zero' );
break;
case '2':
alert( 'Two' );
break;
case 3:
alert( 'Never executes!' );
break;
default:
alert( 'An unknown value' )
}
Expand Down

0 comments on commit 771cf92

Please sign in to comment.