Skip to content

Commit 4bca162

Browse files
translated
quick translation
1 parent 0e4ddb4 commit 4bca162

File tree

1 file changed

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

1 file changed

+3
-4
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
**Yes, it will.**
1+
**Da, așa va fi.**
22

3-
Any string except an empty one (and `"0"` is not empty) becomes `true` in the logical context.
3+
Orice string cu excepția unui string gol (iar `"0"` nu este gol) devine `true` în contextul logical.
44

55
We can run and check:
66

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

0 commit comments

Comments
 (0)