From 98b9ae1370b3ae9973f8ffa540234c5a21a0f4cf Mon Sep 17 00:00:00 2001 From: Abhisek Pattnaik Date: Sun, 27 Dec 2015 02:13:45 +0530 Subject: [PATCH] Multiple Identical Options in Switch Statements --- .../basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 11bece8a92..e11da307ca 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -3179,7 +3179,7 @@ "id": "56533eb9ac21ba0edf2244df", "title": "Multiple Identical Options in Switch Statements", "description": [ - "If the break statement is ommitted from a switch statement case, the following case statement(s). If you have mutiple inputs with the same output, you can represent them in a switch statement like this:", + "If the break statement is ommitted from a switch statement case, the following case statement(s) are executed unless a break is encountered. If you have mutiple inputs with the same output, you can represent them in a switch statement like this:", "
switch(val) {
case 1:
case 2:
case 3:
result = \"1, 2, or 3\";
break;
case 4:
result = \"4 alone\";
}
", "Cases for 1, 2, and 3 will all produce the same result.", "

Instructions

", @@ -3206,7 +3206,7 @@ " // Only change code below this line", " ", " ", - "", + " ", " // Only change code above this line ", " return answer; ", "}",