Skip to content
Prev Previous commit
Next Next commit
Translate task and solution descriptions for "Replace 'for' with 'whi…
…le'" to Portuguese.
  • Loading branch information
gabifs committed Jan 28, 2026
commit c803b8a28ae19104701f8ddad8851787e468502e
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
```js run
let i = 0;
while (i < 3) {
alert( `number ${i}!` );
alert( `número ${i}!` );
i++;
}
```
Expand Down
4 changes: 2 additions & 2 deletions 1-js/02-first-steps/13-while-for/5-replace-for-while/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ importance: 5

---

# Replace "for" with "while"
# Substitua "for" por "while"

Rewrite the code changing the `for` loop to `while` without altering its behavior (the output should stay same).
Reescreva o código alterando o laço `for` para `while` sem alterar seu comportamento (a saída deve permanecer a mesma).

```js run
for (let i = 0; i < 3; i++) {
Expand Down