File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
1-js/02-first-steps/08-comparison/1-comparison-questions Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,10 @@ null === +"\n0\n" → false
1212
1313Beberapa alasan:
1414
15- <<<<<<< HEAD
16151 . Sudah jelas, true.
17162 . Pembandingan kamus, jadi false.
18173 . Lagi, pembandingan kamus, karakter pertama ` "2" ` lebih besar dari karakter pertama ` "1" ` .
19184 . Nilai ` null ` dan ` undefined ` selalu bernilai sama.
20- 5 . Equalitas ketat itu ketat.Tipe berbeda dari kedua sisi menghasilkan false.
21- 6 . Lihat (4).
19+ 5 . Equalitas ketat memang ketat. Tipe berbeda dari kedua sisi menghasilkan false.
20+ 6 . Serupa dengan ` (4) ` , ` null ` hanya sama dengan ` undefined ` .
22217 . Equalitas ketat dari tipe berbeda.
23- =======
24- 1 . Obviously, true.
25- 2 . Dictionary comparison, hence false.
26- 3 . Again, dictionary comparison, first char of ` "2" ` is greater than the first char of ` "1" ` .
27- 4 . Values ` null ` and ` undefined ` equal each other only.
28- 5 . Strict equality is strict. Different types from both sides lead to false.
29- 6 . Similar to ` (4) ` , ` null ` only equals ` undefined ` .
30- 7 . Strict equality of different types.
31- >>>>>>> 8c30654f694fe8682f5631809980be931ee4ed72
You can’t perform that action at this time.
0 commit comments