You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/09-comparison/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,5 +212,5 @@ Why did we go over these examples? Should we remember these peculiarities all th
212
212
- Comparison operators return a boolean value.
213
213
- Strings are compared letter-by-letter in the "dictionary" order.
214
214
- When values of different types are compared, they get converted to numbers (with the exclusion of a strict equality check).
215
-
- The values `null` and `undefined` equal `==` each other and do not equal any other value.
215
+
- The values `null` and `undefined`are equal `==`to themselves and each other, but do not equal any other value.
216
216
- Be careful when using comparisons like `>` or `<` with variables that can occasionally be `null/undefined`. Checking for `null/undefined` separately is a good idea.
0 commit comments