Skip to content

Commit 1a1e546

Browse files
authored
Translated solution.md
1 parent 06341cd commit 1a1e546

File tree

1 file changed

+4
-4
lines changed
  • 1-js/02-first-steps/10-ifelse/1-if-zero-string

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
**Yes, it will.**
1+
**Taip, bus.**
22

3-
Any string except an empty one (and `"0"` is not empty) becomes `true` in the logical context.
3+
Bet kokia eilutė išskyrus tuščią (o `"0"` nėra tuščia) tampa `true` loginiame kontekste.
44

5-
We can run and check:
5+
Mes galime paleisti ir patikrinti:
66

77
```js run
88
if ("0") {
9-
alert( 'Hello' );
9+
alert( 'Labas' );
1010
}
1111
```
1212

0 commit comments

Comments
 (0)