fix(challenges): Change "loop" to "function" (#15649)

pull/15650/merge
Shubham Sharma 2017-07-15 17:12:00 +00:00 committed by mrugesh mohapatra
parent 4334c8115d
commit 7d3313a1fa
1 changed files with 1 additions and 1 deletions

View File

@ -3562,7 +3562,7 @@
"title": "Logical Order in If Else Statements",
"description": [
"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 function 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.",
"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>",