Merge pull request #9099 from kishba/fix/missing-apostrophe-logical-order-statements
Fix missing apostrophe in Basic JavaScript conditional challenge
This commit is contained in:
@ -3280,7 +3280,7 @@
|
|||||||
"Order is important in <code>if</code>, <code>else if</code> statements.",
|
"Order is important in <code>if</code>, <code>else if</code> statements.",
|
||||||
"The loop is executed from top to bottom so you will want to be careful of what statement comes first.",
|
"The loop is executed from top to bottom so you will want to be careful of what statement comes first.",
|
||||||
"Take these two functions as an example.",
|
"Take these two functions as an example.",
|
||||||
"Heres the first:",
|
"Here's the first:",
|
||||||
"<blockquote>function foo(x) {<br> if (x < 1) {<br> return \"Less than one\";<br> } else if (x < 2) {<br> return \"Less than two\";<br> } else {<br> return \"Greater than or equal to two\";<br> }<br>}</blockquote>",
|
"<blockquote>function foo(x) {<br> if (x < 1) {<br> return \"Less than one\";<br> } else if (x < 2) {<br> return \"Less than two\";<br> } else {<br> return \"Greater than or equal to two\";<br> }<br>}</blockquote>",
|
||||||
"And the second just switches the order of the statements:",
|
"And the second just switches the order of the statements:",
|
||||||
"<blockquote>function bar(x) {<br> if (x < 2) {<br> return \"Less than two\";<br> } else if (x < 1) {<br> return \"Less than one\";<br> } else {<br> return \"Greater than or equal to two\";<br> }<br>}</blockquote>",
|
"<blockquote>function bar(x) {<br> if (x < 2) {<br> return \"Less than two\";<br> } else if (x < 1) {<br> return \"Less than one\";<br> } else {<br> return \"Greater than or equal to two\";<br> }<br>}</blockquote>",
|
||||||
|
Reference in New Issue
Block a user