Skip to content

Commit a24475c

Browse files
authored
Translated task.md
1 parent 9ffe3e6 commit a24475c

File tree

1 file changed

+3
-3
lines changed
  • 1-js/02-first-steps/12-while-for/5-replace-for-while

1 file changed

+3
-3
lines changed

1-js/02-first-steps/12-while-for/5-replace-for-while/task.md

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

33
---
44

5-
# Replace "for" with "while"
5+
# Pakeiskite "for" į "while"
66

7-
Rewrite the code changing the `for` loop to `while` without altering its behavior (the output should stay same).
7+
Perrašykite kodą pakeisdami ciklą `for` į `while`, nepakeisdami elgesio (turėtumėte gauti tą patį atsakymą).
88

99
```js run
1010
for (let i = 0; i < 3; i++) {
11-
alert( `number ${i}!` );
11+
alert( `skaičius ${i}!` );
1212
}
1313
```
1414

0 commit comments

Comments
 (0)