Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6038135

Browse files
committed
Translate the "Methods of primitives" section to Thai and update examples
1 parent f80aa19 commit 6038135

File tree

1 file changed

+6
-1
lines changed
  • 1-js/05-data-types/01-primitives-methods

1 file changed

+6
-1
lines changed

‎1-js/05-data-types/01-primitives-methods/article.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,9 @@ let num = Number("123"); // แปลง string เป็น number
118118
119119
```js run
120120
alert(null.test); // error
121-
```
121+
```
122+
123+
## สรุป
124+
125+
- ข้อมูลปฐมภูมิยกเว้น `null` และ `undefined` มีเมท็อดที่ใช้งานได้จํานวนมาก เราจะศึกษาเมท็อดเหล่านั้นในบทต่อๆ ไป
126+
- อย่างเป็นทางการแล้ว เมท็อดพวกนี้ทํางานผ่านออบเจ็กต์ชั่วคราว แต่เอ็นจิน JavaScript ได้รับการปรับแต่งอย่างดีเพื่อให้เกิดค่าใช้จ่ายในการเรียกใช้น้อยที่สุด

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /