mirror of
https://github.com/denysdovhan/wtfjs.git
synced 2026-03-13 08:42:20 +08:00
@@ -153,7 +153,7 @@ const foo = function() {};
|
||||
考虑一下这一步:
|
||||
|
||||
```js
|
||||
true == "true"; // -> true
|
||||
true == "true"; // -> false
|
||||
false == "false"; // -> false
|
||||
|
||||
// 'false' 不是空字符串,所以它的值是 true
|
||||
|
||||
Reference in New Issue
Block a user