minor fixes
This commit is contained in:
parent
e4c928ba2d
commit
2d63151779
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ alert( 0 == [] ); // true
|
|||
alert('0' == [] ); // false
|
||||
```
|
||||
|
||||
Here, in both cases, we compare a primitive with an array object. So the array `[]` gets converted to primitive and becomes an empty string `''`.
|
||||
Here, in both cases, we compare a primitive with an array object. So the array `[]` gets converted to primitive for the purpose of comparison and becomes an empty string `''`.
|
||||
|
||||
Then the comparison process goes on:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue