File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
1-js/02-first-steps/08-comparison/1-comparison-questions Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ null == "\n0\n" → false
1010null === + " \n 0\n " → false
1111```
1212
13- Some of the reasons :
13+ Algumas das razões :
1414
15- 1 . Obviously , true.
16- 2 . Dictionary comparison, hence false.
17- 3 . Again, dictionary comparison, first char of ` "2" ` is greater than the first char of ` "1" ` .
18- 4 . Values ` null ` and ` undefined ` equal each other only .
19- 5 . Strict equality is strict. Different types from both sides lead to false.
20- 6 . See (4).
21- 7 . Strict equality of different types .
15+ 1 . Obviamente , true.
16+ 2 . Comparação de dicionário, portanto, false.
17+ 3 . Novamente, comparação de dicionário, o primeiro caractere de ` "2" ` é maior que o primeiro caractere de ` "1" ` .
18+ 4 . Valores ` null ` e ` undefined ` são iguais entre si somente .
19+ 5 . A igualdade estrita é rigorosa. Diferentes tipos de ambos os lados levam a false.
20+ 6 . Veja (4).
21+ 7 . Igualdade estrita de diferentes tipos .
You can’t perform that action at this time.
0 commit comments