Skip to content

Commit 1e382f2

Browse files
committed
Merge pull request BonsaiDen#168 from huanglong/master
correct the translation of number in equality.md
2 parents 344b067 + e493337 commit 1e382f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/zh/types/equality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ JavaScript 是*弱类型*语言,这就意味着,等于操作符会为了比
2121
上面的表格展示了强制类型转换,这也是使用 `==` 被广泛认为是不好编程习惯的主要原因,
2222
由于它的复杂转换规则,会导致难以跟踪的问题。
2323

24-
此外,强制类型转换也会带来性能消耗,比如一个字符串为了和一个数组进行比较,必须事先被强制转换为数字。
24+
此外,强制类型转换也会带来性能消耗,比如一个字符串为了和一个数字进行比较,必须事先被强制转换为数字。
2525

2626
###严格等于操作符
2727

0 commit comments

Comments
 (0)