Skip to content

Commit 9cfa062

Browse files
translated
1 parent cd896c3 commit 9cfa062

File tree

1 file changed

+4
-4
lines changed
  • 1-js/02-first-steps/10-ifelse/5-rewrite-if-question

1 file changed

+4
-4
lines changed

1-js/02-first-steps/10-ifelse/5-rewrite-if-question/task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ importance: 5
22

33
---
44

5-
# Rewrite 'if' into '?'
5+
# Rescrieți 'if' în '?'
66

7-
Rewrite this `if` using the conditional operator `'?'`:
7+
Rescrieți acest `if` folosind operatorul condițional `'?'`:
88

99
```js
1010
let result;
1111

1212
if (a + b < 4) {
13-
result = 'Below';
13+
result = 'Sub';
1414
} else {
15-
result = 'Over';
15+
result = 'Peste';
1616
}
1717
```

0 commit comments

Comments
 (0)