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

pull/18182/head
Shubham Sharma 2017-07-15 17:12:00 +00:00 committed by mrugesh mohapatra
parent 357865ce41
commit 5baec5e56a
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>",