minor fixes

This commit is contained in:
Ilya Kantor 2020-09-24 23:01:15 +03:00
parent d92cb4743f
commit 2f6e4a27e2

View file

@ -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>: Then the comparison process goes on, as described in the chapter <info:type-conversions>:
```js run ```js run
// [] converted to '' // [] was converted to ''
alert( 0 == '' ); // true, as '' becomes converted to number 0 alert( 0 == '' ); // true, as '' becomes converted to number 0
alert('0' == '' ); // false, no type conversion, different strings alert('0' == '' ); // false, no type conversion, different strings