Skip to content

Commit d5cb8b3

Browse files
committed
Merge pull request #6594 from hallaathrad/fix/typos-and-style
Fix for "Multiple Identical Options in Switch Statements"
2 parents 317b27b + a04fa02 commit d5cb8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seed/challenges/01-front-end-development-certification/basic-javascript.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2879,7 +2879,7 @@
28792879
"id": "56533eb9ac21ba0edf2244df",
28802880
"title": "Multiple Identical Options in Switch Statements",
28812881
"description": [
2882-
"If the <code>break</code> statement is ommitted from a <code>switch</code> statement's <code>case</code>, the following <code>case</code> statement(s) are executed until a <code>break</code> is encountered. If you have multiple inputs with the same output, you can represent them in a <code>switch</code> statement like this:",
2882+
"If the <code>break</code> statement is omitted from a <code>switch</code> statement's <code>case</code>, the following <code>case</code> statement(s) are executed until a <code>break</code> is encountered. If you have multiple inputs with the same output, you can represent them in a <code>switch</code> statement like this:",
28832883
"<blockquote>switch(val) {<br> case 1:<br> case 2:<br> case 3:<br> result = \"1, 2, or 3\";<br> break;<br> case 4:<br> result = \"4 alone\";<br>}</blockquote>",
28842884
"Cases for 1, 2, and 3 will all produce the same result.",
28852885
"<h4>Instructions</h4>",

0 commit comments

Comments
 (0)