Skip to content

Latest commit

 

History

History
96 lines (58 loc) · 9.49 KB

File metadata and controls

96 lines (58 loc) · 9.49 KB

အသုံးပြုပုံ နှင့် သတ်မှတ်ချက်များ

<<<<<<< HEAD

======= This book is a tutorial. It aims to help you gradually learn the language. But once you're familiar with the basics, you'll need other resources.

52c1e61915bc8970a950a3f59bd845827e49b4bf

ဒီစာအုပ်က tutorial တစ်ခုဖြစ်ပါတယ်။ JavaScript ကို တစ်ဖြည်းဖြည်းချင်း လေ့လာနိုင်အောင် ရည်ရွယ်ထားတယ်။ တကယ်လို့ အခြေခံ အချက်တွေကို နားလည်သွားပြီဆိုရင် တခြား လေ့လာစရာတွေကို ထပ်လေ့လာဖို့ လိုပါလိမ့်မယ်။

သတ်မှတ်ချက်

<<<<<<< HEAD

======= A new specification version is released every year. Between these releases, the latest specification draft is at https://tc39.es/ecma262/.

52c1e61915bc8970a950a3f59bd845827e49b4bf

The ECMA-262 specification ဆိုတဲ့ သတ်မှတ်ချက် တွေမှာ JavaScript နဲ့ ပတ်သတ်ပြီး အသေးစိတ် , အခြေခံကျကျ နဲ့ တိကျတဲ့ အချက်အလက်တွေ ပါဝင်ပါတယ်။

အဲ့လို အသေးစိတ် အချက်အလက်တွေ ကြောင့်ပဲ အစပိုင်းမှာ နားလည်ဖို့ ခက်ခဲ့ပါတယ်။ ဒါကြောင့် language ရဲ့ အချက်အလက် တွေနဲ့ ပတ်သတ်ပြီး ယုံကြည်ရတဲ့ ရင်းမြစ်တစ်ခုလိုနေတယ် ဆိုရင် သတ်မှတ်ချက်တွေ ကို လေ့လာတာက မှန်ကန်တဲ့ အရာပါပဲ။ ဒါပေမယ့် နေစဉ်အသုံးပြုဖို့တော့ မဟုတ်ပါဘူး။

<<<<<<< HEAD နှစ်စဉ်နှစ်တိုင်း သတ်မှတ်ချက် အသစ်တွေ ထွက်ပါတယ်။ အဲ့ မထွက်ခင် အတောအတွင်း သတ်မှတ်ချက်တွေကို https://tc39.es/ecma262/ မှာ သွားကြည့်လို့ရပါတယ်။

======= You can find it at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference.

Although, it's often best to use an internet search instead. Just use "MDN [term]" in the query, e.g. https://google.com/search?q=MDN+parseInt to search for the parseInt function.

52c1e61915bc8970a950a3f59bd845827e49b4bf

အသစ်ထွက်လာမယ့် features တွေ "almost standard" (so-called "stage 3") လို့ခေါ်တဲ့ standard ဖြစ်တော့မယ့် features တွေအကြောင်းဖတ်ချင်ရင် https://github.com/tc39/proposals သွားဖတ်လို့ရပါတယ်။

နောက်ပြီးတော့ တကယ်လို့ သင်ဟာ brower အတွက် ဖန်တီးနေတဲ့သူဆိုရင် browser environment တွေအတွက် သတ်မှတ်မှတ်ချက် တွေကို ဒီ tutorial ရဲ့ second part မှာ ပြောပြသွားပါမယ်။

<<<<<<< HEAD

Manual

=======

All these resources are useful in real-life development, as they contain valuable information about language details, their support, etc.

52c1e61915bc8970a950a3f59bd845827e49b4bf

MDN (Mozilla) JavaScript Reference ကတော့ ဥပမာ တွေနဲ့ အခြားအချက်အလက်တွေအတွက် အဓိက ဖြစ်ပါတယ်။ language နဲ့ ပတ်သတ်တဲ့ functions တွေ methods တွေ နဲ့ ပတ်သတ်ပြီး အသေးစိတ် အချက်အလက်တွေ လေ့လာဖို့အတွက် ကောင်းတဲ့ နေရာပါပဲ။

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference ဒီမှာ သွားကြည့်လို့ရပါတယ်။

တစ်ခါတစ်လေကျရင် internet မှာပဲ ကိုသိချင်တာကို ရှာလိုက်တာက ပိုကောင်းနိုင်ပါတယ်။ အဲ့လို အခြေမျိုးဆိုရင် "MDN [term]" ဆိုတဲ့ စာလုံးလေး ထည့်ပြီးရှာပါ။ ဥပမာ https://google.com/search?q=MDN+parseInt ဆိုပြီး parseInt အကြောင်းကို ရှာနိုင်ပါတယ်။

တွဲဖက်လုပ်ဆောင်နိုင်မှု

=======

JavaScript ဟာ တိုးတက်နေဆဲ language တစ်ခုဖြစ်ပါတယ်။ features အသစ်တွေကိုလည်း ပုံမှန် ထည့်သွင်းပေးနေပါတယ်။

သူရဲ့ browser အခြေခံ နဲ့ တစ်ခြား engines တွေမှာ တွဲဖက်လုပ်ဆောင်နိုင်စွမ်းကို ကြည့်ချင်ရင် :

  • http://caniuse.com - feature တစ်ခုချင်းစီအတွက် ထောက်ပံမှု , ဥပမာ ဘယ် engines က တော့ ဘယ် cryptography funnctions ကို ထောက်ပံပေးထားတယ် ဆိုတာမျိုး http://caniuse.com/#feat=cryptography
  • https://kangax.github.io/compat-table - ဘယ် engines တွေက ဘယ် language features တွေကို ထောက်ပံပေးလည်းဆိုတာ ဖော်ပြထားတဲ့ table တစ်ခုပါ။

အပေါ်က အချက်အလက်တွေက တကယ်လက်တွေ့ ဖန်တီးမှုတွေမှာ အရမ်းကို အသုံးဝင်ပါတယ်။ သူတို့မှာ တန်ဖိုးရှိတဲ့ language အသေးစိတ် အချက်အလက်တွေ နဲ့ သူတို့ရဲ့ ထောက်ပံမှုတွေ စသည်ဖြင့် ပါဝင်ပါတယ်။

ဒါကြောင့် အကြောင်းအရာ တစ်ခုခုနဲ့ ပတ်သတ်ပြီး အသေးစိတ်လေ့လာဖို့ လိုအပ်လာပြီဆိုရင် အဲ့ဒီ page တွေကို သွားရောက် လေ့လာဖို့ သတိရပါ။