Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 611236f

Browse files
authored
Merge pull request #2203 from leviding/patch-25
OPT: change "false" to "falsy"
2 parents ad4bd59 + fe3ba11 commit 611236f

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/01-recursion

1 file changed

+1
-1
lines changed

‎1-js/06-advanced-functions/01-recursion/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ We can sketch it as:
132132
</li>
133133
</ul>
134134
135-
That's when the function starts to execute. The condition `n == 1` is false, so the flow continues into the second branch of `if`:
135+
That's when the function starts to execute. The condition `n == 1` is falsy, so the flow continues into the second branch of `if`:
136136
137137
```js run
138138
function pow(x, n) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /