We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ffe3e6 commit a24475cCopy full SHA for a24475c
1-js/02-first-steps/12-while-for/5-replace-for-while/task.md
@@ -2,13 +2,13 @@ importance: 5
2
3
---
4
5
-# Replace "for" with "while"
+# Pakeiskite "for" į "while"
6
7
-Rewrite the code changing the `for` loop to `while` without altering its behavior (the output should stay same).
+Perrašykite kodą pakeisdami ciklą `for` į `while`, nepakeisdami elgesio (turėtumėte gauti tą patį atsakymą).
8
9
```js run
10
for (let i = 0; i < 3; i++) {
11
- alert( `number ${i}!` );
+ alert( `skaičius ${i}!` );
12
}
13
```
14
0 commit comments