OPT: change "false" to "falsy"

This commit is contained in:
LeviDing 2020-10-15 22:11:10 +08:00 committed by GitHub
parent 15767fc3cf
commit fe3ba111bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {