Merge pull request #170 from kitiya/patch-1
Update solution.md - question 2
This commit is contained in:
commit
4e1711e871
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ null === +"\n0\n" → false
|
|||
Some of the reasons:
|
||||
|
||||
1. Obviously, true.
|
||||
2. Dictionary comparison, hence true.
|
||||
2. Dictionary comparison, hence false.
|
||||
3. Again, dictionary comparison, first char of `"2"` is greater than the first char of `"1"`.
|
||||
4. Values `null` and `undefined` equal each other only.
|
||||
5. Strict equality is strict. Different types from both sides lead to false.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue