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/2-first-steps/14-types-conversion/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
@@ -168,7 +168,7 @@ alert( !!" " ); // любые непустые строки, даже из пр
168
168
alert( 0 == "\n0\n" ); // true
169
169
```
170
170
171
-
...А в логическом контексте левая часть даст `false`, правая --`true`:
171
+
...А в логическом контексте левая часть (0) даст `false`, правая ("\n0\n") --`true`, так как любая не пустая строка в логическом контексте равна`true`:
0 commit comments