Skip to content

Commit e3cfd50

Browse files
Merge pull request #19 from kooshan75/operators
Operators is done.
2 parents 22cd68d + 673979f commit e3cfd50

File tree

7 files changed

+140
-137
lines changed

7 files changed

+140
-137
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
The answer is:
2+
جواب:
33

44
- `a = 2`
55
- `b = 2`
@@ -9,10 +9,10 @@ The answer is:
99
```js run no-beautify
1010
let a = 1, b = 1;
1111

12-
alert( ++a ); // 2, prefix form returns the new value
13-
alert( b++ ); // 1, postfix form returns the old value
12+
alert( ++a ); // 2, پیشوند مقدار جدید را برمی‌گرداند
13+
alert( b++ ); // 1, پسوند مقدار جدید را برمی‌گرداند
1414

15-
alert( a ); // 2, incremented once
16-
alert( b ); // 2, incremented once
15+
alert( a ); // 2, یکی اضافه شد
16+
alert( b ); // 2, یکی اضافه شد
1717
```
1818

1-js/02-first-steps/07-operators/1-increment-order/task.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ importance: 5
22

33
---
44

5-
# The postfix and prefix forms
5+
# فرم‌های پسوندی و پیشوندی
66

7-
What are the final values of all variables `a`, `b`, `c` and `d` after the code below?
7+
مقادیر نهایی تمام متغیرهای `a`، `b`، `c`، و `d` بعد از اجرای کد زیر چیست؟
88

99
```js
1010
let a = 1, b = 1;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
The answer is:
1+
جواب:
22

3-
- `a = 4` (multiplied by 2)
4-
- `x = 5` (calculated as 1 + 4)
3+
- `a = 4` (ضربدر دو شده)
4+
- `x = 5` (محاسبه‌ی 1 + 4)
55

1-js/02-first-steps/07-operators/2-assignment-result/task.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ importance: 3
22

33
---
44

5-
# Assignment result
5+
# نتیجه‌ی مقداردهی
66

7-
What are the values of `a` and `x` after the code below?
7+
مقادیر `a` و `x` بعد از اجرای کد زیر چیست؟
88

99
```js
1010
let a = 2;
-26.7 KB
Binary file not shown.

1-js/02-first-steps/07-operators/article.md

+126-123
Large diffs are not rendered by default.

1-js/02-first-steps/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# JavaScript Fundamentals
1+
# مفاهیم پایه‌ای جاوا اسکریپت
22

3-
Let's learn the fundamentals of script building.
3+
بیایید مفاهیم پایه‌ای کد زدن با جاوا اسکریپت را یاد بگیریم!

0 commit comments

Comments
 (0)