-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loops: while and for #171
base: master
Are you sure you want to change the base?
Loops: while and for #171
Conversation
This reverts that commit to be able to make a PR with only the translation regarding loops.
This reverts that commit to be able to make a PR with only the translation regarding loops.
This reverts that commit to be able to make a PR with only the translation regarding loops.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codul trebuie revizuit pentru formatare corectă. Atenție deosebită la spații, linii și variabile.
|
||
```js run | ||
```js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```js | |
```js run |
formatare, te rog sa faci la fel pentru fiecare instanță
Dacă apeși ctrl + D după ce ai evidențiat textul... apoi poți șterge și scrie toate erorile de-odată.
Please make the requested changes. After it, add a comment "/done". |
/done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trebuie verificare liniile: să nu fie linii șterse sau adăugate.
Trebuie verificat ca formatarea să coincidă cu originalul. (în setări la VSCode trebuie să dezactivezi formatarea automată)
while (++i < 5) alert( i ); | ||
``` | ||
Prima valoare este `i = 1` pentru că `++i` incrementează prima dată `i` și apoi returnează noua valoare. Așadar prima comparație este `1 < 5` și funcția `alert` afișează `1`. | ||
2. **De la 1 la 5** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spațiile dintre linii trebuie lăsate cum sunt, altfel nu se văd bine diferențele dintre texte. vezi git diff
|
||
```js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatare
|
||
```js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatare
@@ -1,5 +1,3 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linii șterse
Please make the requested changes. After it, add a comment "/done". |
No description provided.