Address some possible inconsistencies in 1.2.9

This commit is contained in:
Vse Mozhe Buty 2020-09-18 16:28:29 +03:00
parent e074a5f825
commit 071efd841b
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ Some of the reasons:
1. Obviously, true.
2. Dictionary comparison, hence false. `"a"` is smaller than `"p"`.
3. Again, dictionary comparison, first char of `"2"` is greater than the first char of `"1"`.
3. Again, dictionary comparison, first char `"2"` is greater than the first char `"1"`.
4. Values `null` and `undefined` equal each other only.
5. Strict equality is strict. Different types from both sides lead to false.
6. Similar to `(4)`, `null` only equals `undefined`.