Skip to content

Commit 9672de0

Browse files
authored
Update solution.md
1 parent 8385c3e commit 9672de0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • 1-js/02-first-steps/12-while-for/1-loop-last-value

1-js/02-first-steps/12-while-for/1-loop-last-value/solution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ while (i) {
1515
```js
1616
let i = 3;
1717

18-
alert(i--); // shows 3, decreases i to 2
18+
alert(i--); // ۳ را نشان میدهد و i به ۲ کاهش میابد
1919

20-
alert(i--) // shows 2, decreases i to 1
20+
alert(i--) // ۲ را نشان میدهد و i به ۱ کاهش میابد
2121

22-
alert(i--) // shows 1, decreases i to 0
22+
alert(i--) // ۱ را نشان میدهد و i به ۰ کاهش میابد
2323

2424
// تمام. عبارت while(i) حلقه را خاتمه میدهد
2525
```

0 commit comments

Comments
 (0)