Skip to content

Commit 2a36d36

Browse files
authored
Translated solution.md
1 parent c71035e commit 2a36d36

File tree

1 file changed

+8
-8
lines changed
  • 1-js/02-first-steps/08-comparison/1-comparison-questions

1 file changed

+8
-8
lines changed

1-js/02-first-steps/08-comparison/1-comparison-questions/solution.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ null == "\n0\n" → false
1010
null === +"\n0\n"false
1111
```
1212

13-
Some of the reasons:
13+
Kai kurios priežastys:
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. Similar to `(4)`, `null` only equals `undefined`.
21-
7. Strict equality of different types.
15+
1. Akivaizdžiai tiesa.
16+
2. Žodynėlio palyginimas, tad netiesa.
17+
3. Vėlgi, žodynėlio palyginimas, tad pirmasis ženklas eilutėje `"2"` yra didenis nei pirmasis ženklas eilutėje `"1"`.
18+
4. Vertės `null` ir `undefined` yra lygios viena kitai.
19+
5. Griežta lygybė yra griežta. Skirtingi tipai abiejose pusėse atveda prie netiesos.
20+
6. Panašiai į `(4)`, `null` yra lygus tik `undefined`.
21+
7. Griežta skirtingų tipų lygybė.

0 commit comments

Comments
 (0)