From 8d625e008d45a1c72cc5377b4bb966def3c63b09 Mon Sep 17 00:00:00 2001 From: Sean Wall Date: Mon, 7 Aug 2017 09:38:55 -0400 Subject: [PATCH] Add missing break statements to last example --- 1-js/02-first-steps/13-switch/article.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/1-js/02-first-steps/13-switch/article.md b/1-js/02-first-steps/13-switch/article.md index 4ace9db8..b48ccfdf 100644 --- a/1-js/02-first-steps/13-switch/article.md +++ b/1-js/02-first-steps/13-switch/article.md @@ -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' ) }