OPT: change "false" to "falsy"
This commit is contained in:
parent
15767fc3cf
commit
fe3ba111bf
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ We can sketch it as:
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
That's when the function starts to execute. The condition `n == 1` is false, so the flow continues into the second branch of `if`:
|
That's when the function starts to execute. The condition `n == 1` is falsy, so the flow continues into the second branch of `if`:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
function pow(x, n) {
|
function pow(x, n) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue