Skip to content

Commit 188eb23

Browse files
Merge pull request #51 from DieHardd/patch-2
Translating task of `which-value-while` .
2 parents 986ffc8 + 3779e9b commit 188eb23

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

  • 1-js/02-first-steps/12-while-for/2-which-value-while

1-js/02-first-steps/12-while-for/2-which-value-while/task.md

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

33
---
44

5-
# Which values does the while loop show?
5+
# حلقه چه مقادیری نشان میدهد؟
66

7-
For every loop iteration, write down which value it outputs and then compare it with the solution.
7+
در هر بار گردش حلقه، حدس بزنید خروجی چه عددی است و با جواب مسئله مقایسه کنید.
88

9-
Both loops `alert` the same values, or not?
9+
هر دو حلقه، مقادیر یکسانی را `alert` میکنند یا خیر؟
1010

11-
1. The prefix form `++i`:
11+
1. حالت پیشوند `i++`:
1212

1313
```js
1414
let i = 0;
1515
while (++i < 5) alert( i );
1616
```
17-
2. The postfix form `i++`
17+
18+
2. حالت پسوند `++i`:
1819

1920
```js
2021
let i = 0;

0 commit comments

Comments
 (0)