File tree 5 files changed +14
-14
lines changed
5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
2
- The answer is :
2
+ جواب :
3
3
4
4
- ` a = 2 `
5
5
- ` b = 2 `
@@ -9,10 +9,10 @@ The answer is:
9
9
``` js run no-beautify
10
10
let a = 1 , b = 1 ;
11
11
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, پسوند مقدار جدید را برمیگرداند
14
14
15
- alert ( a ); // 2, incremented once
16
- alert ( b ); // 2, incremented once
15
+ alert ( a ); // 2, یکی اضافه شد
16
+ alert ( b ); // 2, یکی اضافه شد
17
17
```
18
18
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ importance: 5
2
2
3
3
---
4
4
5
- # The postfix and prefix forms
5
+ # فرمهای پسوندی و پیشوندی
6
6
7
- What are the final values of all variables ` a ` , ` b ` , ` c ` and ` d ` after the code below?
7
+ مقادیر نهایی تمام متغیرهای ` a ` ، ` b ` ، ` c ` ، و ` d ` بعد از اجرای کد زیر چیست؟
8
8
9
9
``` js
10
10
let a = 1 , b = 1 ;
Original file line number Diff line number Diff line change 1
- The answer is :
1
+ جواب :
2
2
3
- - ` a = 4 ` (multiplied by 2 )
4
- - ` x = 5 ` (calculated as 1 + 4)
3
+ - ` a = 4 ` (ضربدر دو شده )
4
+ - ` x = 5 ` (محاسبهی 1 + 4)
5
5
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ importance: 3
2
2
3
3
---
4
4
5
- # Assignment result
5
+ # نتیجهی مقداردهی
6
6
7
- What are the values of ` a ` and ` x ` after the code below?
7
+ مقادیر ` a ` و ` x ` بعد از اجرای کد زیر چیست؟
8
8
9
9
``` js
10
10
let a = 2 ;
Original file line number Diff line number Diff line change 1
- # JavaScript Fundamentals
1
+ # مفاهیم پایهای جاوا اسکریپت
2
2
3
- Let's learn the fundamentals of script building.
3
+ بیایید مفاهیم پایهای کد زدن با جاوا اسکریپت را یاد بگیریم!
You can’t perform that action at this time.
0 commit comments