minor fixes
This commit is contained in:
parent
d92cb4743f
commit
2f6e4a27e2
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ Here, in both cases, we compare a primitive with an array object. So the array `
|
|||
Then the comparison process goes on, as described in the chapter <info:type-conversions>:
|
||||
|
||||
```js run
|
||||
// [] converted to ''
|
||||
// [] was converted to ''
|
||||
alert( 0 == '' ); // true, as '' becomes converted to number 0
|
||||
|
||||
alert('0' == '' ); // false, no type conversion, different strings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue