|
1 | 1 |
|
2 |
| -# Manuals and specifications |
| 2 | +# Oppaat ja määrittelyt |
3 | 3 |
|
4 |
| -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 sources. |
| 4 | +Tämä kirja on *tutoriaali*. Sen tavoitteena on auttaa sinua oppimaan kielen asteittain. Kun tunnet perusteet, tarvitset kuitenkin muita lähteitä. |
5 | 5 |
|
6 |
| -## Specification |
| 6 | +## Määrittely |
7 | 7 |
|
8 |
| -[The ECMA-262 specification](https://www.ecma-international.org/publications/standards/Ecma-262.htm) contains the most in-depth, detailed and formalized information about JavaScript. It defines the language. |
| 8 | +[ECMA-262 määrittely](https://www.ecma-international.org/publications/standards/Ecma-262.htm) sisältää kaikkein tarkinta, yksityiskohtaista ja virallisinta tietoa JavaScriptistä. Se määrittelee kielen. |
9 | 9 |
|
10 |
| -But being that formalized, it's difficult to understand at first. So if you need the most trustworthy source of information about the language details, the specification is the right place. But it's not for everyday use. |
| 10 | +Koska tieto on niin virallista, se on aluksi vaikeaa ymmärtää. Jos siis tarvitset kaikkein luotettavinta tietoa kielen yksityiskohdista, määrittely on sille oikea paikka. Se ei kuitenkaan ole jokapäiväiseen käyttöön. |
11 | 11 |
|
12 |
| -A new specification version is released every year. In-between these releases, the latest specification draft is at <https://tc39.es/ecma262/>. |
| 12 | +Uusi määrittely julkaistaan joka vuosi. Julkaisujen välillä uusimman määrittelyn luonnos löytyy osoitteesta <https://tc39.es/ecma262/>. |
13 | 13 |
|
14 |
| -To read about new bleeding-edge features, including those that are "almost standard" (so-called "stage 3"), see proposals at <https://github.com/tc39/proposals>. |
| 14 | +Lukeaksesi kaikkein uusimmista toiminnoista, mukaan lukien niistä, jotka ovat "melkein standardisoitu" (niin sanottu "taso 3"), katso "proposals" (suom. ehdotukset) osoitteessa <https://github.com/tc39/proposals>. |
15 | 15 |
|
16 |
| -Also, if you're developing for the browser, then there are other specifications covered in the [second part](info:browser-environment) of the tutorial. |
| 16 | +Jos kehität selainsovelluksia, tämän tutoriaalin [toisessa osassa](info:browser-environment) on mainittu muitakin määrittelyjä. |
17 | 17 |
|
18 |
| -## Manuals |
| 18 | +## Oppaat |
19 | 19 |
|
20 |
| -- **MDN (Mozilla) JavaScript Reference** is the main manual with examples and other information. It's great to get in-depth information about individual language functions, methods etc. |
| 20 | +- **MDN (Mozilla) JavaScript Reference** on tärkein opas, joka sisältää esimerkkejä ja muuta tietoa. Se on hyvä tarkemman tiedon lähde yksittäisille funktioille, metodeille, jne. |
21 | 21 |
|
22 |
| - One can find it at <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference>. |
| 22 | + Opas löytyy osoitteesta <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference>. |
23 | 23 |
|
24 |
| -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 `parseInt` function. |
| 24 | +Toisaalta usein on parasta käyttää internethakuja. Käytä vain muotoa "MDN [termi]" hakusanassa, esim. <https://google.fi/search?q=MDN+parseInt> etsiessäsi tietoa `parseInt` funktiosta. |
25 | 25 |
|
26 |
| -## Compatibility tables |
| 26 | +## Yhteensopivuustaulukot |
27 | 27 |
|
28 |
| -JavaScript is a developing language, new features get added regularly. |
| 28 | +JavaScript on kehittyvä kieli ja uusia toimintoja lisätään säännöllisesti. |
29 | 29 |
|
30 |
| -To see their support among browser-based and other engines, see: |
| 30 | +Nähdäksesi niiden yhteensopivuuden eri selainpohjaisissa ja muissa moottoreissa, katso: |
31 | 31 |
|
32 |
| -- <http://caniuse.com> - per-feature tables of support, e.g. to see which engines support modern cryptography functions: <http://caniuse.com/#feat=cryptography>. |
33 |
| -- <https://kangax.github.io/compat-table> - a table with language features and engines that support those or don't support. |
| 32 | +- <http://caniuse.com> - toimintokohtaiset yhteensopivuustaulukot, esim. nähdäksesi, mitkä moottorit ovat yhteensopivia nykyaikaisten salausfunktioiden kanssa: <http://caniuse.com/#feat=cryptography>. |
| 33 | +- <https://kangax.github.io/compat-table> - kielen toimintoja ja niiden kanssa yhteensopivia moottoreita sisältävä taulukko |
34 | 34 |
|
35 |
| -All these resources are useful in real-life development, as they contain valuable information about language details, their support etc. |
| 35 | +Kaikki nämä tietolähteet ovat hyödyllisiä todellisen elämän sovelluskehityksessä, koska ne sisältävät arvokasta tietoa kielen yksityiskohdista, niiden yhteensopivuudesta, jne. |
36 | 36 |
|
37 |
| -Please remember them (or this page) for the cases when you need in-depth information about a particular feature. |
| 37 | +Ne (tai tämä sivu) kannattaa muistaa, kun tarvitset tarkempaa tietoa tietystä toiminnosta. |
0 commit comments