Skip to content

Commit 72e0a6b

Browse files
authored
fix: typo (#1082)
1 parent becab03 commit 72e0a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/10-ifelse/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (year == 2015) {
3737

3838
让我们回顾一下 <info:type-conversions> 一章中的转换规则:
3939

40-
- 数字 `0`、空字符串 `""``null``undefined``NaN` 都会被转换成 `false`。因为它们被称为“假值(falsy)”
40+
- 数字 `0`、空字符串 `""``null``undefined``NaN` 都会被转换成 `false`。因为它们被称为“假值(falsy)”。
4141
- 其他值被转换为 `true`,所以它们被称为“真值(truthy)”。
4242

4343
所以,下面这个条件下的代码永远不会执行:

0 commit comments

Comments
 (0)