minor fixes

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

View file

@ -463,7 +463,7 @@ alert('0' == [] ); // false
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, as described in the chapter <info:type-conversions>:
Then the comparison process goes on with the primitives, as described in the chapter <info:type-conversions>:
```js run
// [] was converted to ''