- Notifications
You must be signed in to change notification settings - Fork10
Manuals and specifications#111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
44 changes: 19 additions & 25 deletions1-js/01-getting-started/2-manuals-specifications/article.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1,37 @@ | ||
| #คู่มือการใช้งานและข้อมูลสเปคทางเทคนิค | ||
| หนังสือเล่มนี้เป็น บทแนะนำการใช้งาน ที่มีเป้าหมายเพื่อช่วยให้คุณเรียนรู้ภาษานี้อย่างช้าๆ แต่เมื่อคุณเข้าใจพื้นฐานแล้ว คุณจะต้องใช้แหล่งข้อมูลอื่นๆ เพื่อเสริมสร้างความรู้และทักษะของคุณให้เติบโตยิ่งขึ้น และเพื่อให้คุณสามารถเขียนโค้ดที่มีประสิทธิภาพและมีประสิทธิผลได้ | ||
| ##ข้อมูลสเปคทางเทคนิค | ||
| [เอกสารข้อกำหนด ECMA-262](https://www.ecma-international.org/publications/standards/Ecma-262.htm) เป็นแหล่งข้อมูลที่สำคัญและละเอียดถี่ถ้วนที่สุดเกี่ยวกับภาษา JavaScript โดยที่กำหนดลักษณะการใช้งานของภาษานี้ไว้แบบละเอียดสมบูรณ์ และเป็นแหล่งข้อมูลที่เป็นทางการที่สุดเกี่ยวกับภาษานี้ | ||
| แต่เนื่องจากเอกสารข้อกำหนดถูกเขียนเป็นทางการมากๆ ทำให้มันยากต่อการเข้าใจในระยะแรก ดังนั้นหากคุณต้องการแหล่งข้อมูลที่เชื่อถือได้เกี่ยวกับรายละเอียดของภาษา การอ่านข้อกำหนดทางการจะเป็นทางเลือกที่เหมาะสมที่สุด แต่มันไม่เหมาะสมสำหรับการใช้งานในทุกวัน และมันยังไม่ได้รวมถึงข้อมูลที่เกี่ยวข้องกับเบราว์เซอร์ และเครื่องมืออื่นๆที่เกี่ยวข้อง | ||
| มีการเผยแพร่เวอร์ชันใหม่ๆของข้อกำหนดใหม่ๆทุกๆปี ในช่วงระหว่างการเผยแพร่เวอร์ชันนั้น เราสามารถอ่านร่างล่าสุดของข้อกำหนดใหม่ๆได้ เพียงเข้าไปที่ <https://tc39.es/ecma262/> | ||
| หากต้องการอ่านเกี่ยวกับฟีเจอร์ใหม่ๆ ที่อยู่ในขั้นตอนการพัฒนา (Bleeding-edge features) รวมถึงฟีเจอร์ที่อยู่ในระดับ "เกือบเป็นมาตรฐาน" (เรียกว่า "stage 3") สามารถดูข้อเสนอที่<https://github.com/tc39/proposals> ได้เลย | ||
| นอกเหนือจากนี้หากคุณกำลังพัฒนาแอพสำหรับเบราว์เซอร์ จะมีข้อกำหนดอื่นๆที่เกี่ยวข้องใน[ส่วนที่สอง](info:browser-environment)ของบทแนะนำการใช้งานนี้เพิ่มเติม | ||
| ##คู่มือการใช้งาน (Manuals) | ||
| - **MDN (Mozilla) JavaScript Reference**เป็นแหล่งข้อมูลที่สำคัญมีตัวอย่างและข้อมูลอื่นๆให้ นี่เป็นแหล่งข้อมูลที่ยอดเยี่ยมสำหรับเรียนรู้ข้อมูลละเอียดเกี่ยวกับฟังก์ชันและเมธอดต่างๆของภาษา JavaScript | ||
| คุณสามารถค้นหาคู่มือนี้ได้ที่<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference>. | ||
| แต่ในบางครั้ง การค้นหาข้อมูลบนอินเทอร์เน็ตอาจจะง่ายกว่า ให้ใช้คำสำคัญ"MDN [คำที่ต้องการหา]" เช่น <https://google.com/search?q=MDN+parseInt> เพื่อค้นหาข้อมูลเกี่ยวกับฟังก์ชัน `parseInt` ที่ MDN ได้อย่างรวดเร็ว | ||
| ## ตารางความเข้ากันได้ของเวอร์ชัน (Compatibility tables) | ||
| ภาษา JavaScript เป็นภาษาที่กำลังพัฒนาอยู่ ฟีเจอร์ใหม่ๆถูกเพิ่มเข้ามาอย่างสม่ำเสมอ และเครื่องมืออื่นๆเช่นเบราว์เซอร์ มีการพัฒนาอย่างต่อเนื่อง ซึ่งเป็นสาเหตุให้เกิดปัญหาความเข้ากันได้ของฟีเจอร์ใหม่ๆ ที่เพิ่งเพิ่มเข้ามา | ||
| หากต้องการดูการรองรับของฟีเจอร์ใหม่ๆบนเบราว์เซอร์และเครื่องมืออื่นๆ สามารถดูได้ที่: | ||
| - <http://caniuse.com> - ตารางการรองรับแต่ละฟีเจอร์ เช่น เพื่อดูว่าเครื่องมือใดรองรับฟังก์ชันการเข้ารหัสข้อมูลบ้าง: <http://caniuse.com/#feat=cryptography>. | ||
| - <https://kangax.github.io/compat-table> - ตารางฟีเจอร์ภาษาและเครื่องมือที่รองรับหรือไม่รองรับฟีเจอร์นั้นๆ | ||
| ทั้งหมดเป็นแหล่งข้อมูลที่มีประโยชน์ในการพัฒนาที่ใช้ในชีวิตประจำวัน เนื่องจากมีข้อมูลเกี่ยวกับรายละเอียดของภาษา การรองรับ ฯลฯ | ||
| โปรดจำไว้ (หรือจำหน้านี้ไว้) ในกรณีที่คุณต้องการข้อมูลละเอียดเกี่ยวกับฟีเจอร์เฉพาะตัว หรือต้องการดูว่าฟีเจอร์ใหม่ๆนั้นรองรับบนเบราว์เซอร์หรือไม่ หรือบนเครื่องมืออื่นๆหรือไม่ |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.