diff --git a/public/fi/es6.html b/public/fi/es6.html new file mode 100644 index 0000000..84063c9 --- /dev/null +++ b/public/fi/es6.html @@ -0,0 +1,150 @@ + + + +
+ +io.js nojaa tuoreisiin V8:n versioihin. Pysymällä ajan tasalla viimeisimpien versioiden kanssa varmistetaan sekä uusimpien JavaScript ECMA-262 specification ominaisuuksien, että suorituskykyyn ja vakauteen liittyvien parannusten nopea saapuminen kehittäjien ulottuville.
+io.js:n versio 1.3.0 sisältää V8 version 4.1.0.14, mikä ES6:n osalta ylittää tuntuvasti ominaisuuksiltaan version 3.28.72 mikä sisältyy Node.js™ 0.12.x-versioihin.
+Node.js™@0.12.x (V8 3.28+) ajonaikainen --harmony
-lippu aktivoi kaikki valmiit, koekäyttövaiheen ja kehitysvaiheen ES6-ominaisuudet (poikkeuksena proxies
, joille on oma --harmony-proxies
-lippunsa). Toisin sanoen jotkin bugiset tai jopa rikkinäiset ominaisuudet kuten Arrow Functions on yhtä lailla käytettävissä kuin generators, millä on vähän tai ei yhtään tunnettuja ongelmia. Usein kehittäjät ottavat käyttöön vain tiettyjä ominaisuuksia käyttämällä täsmällisiä ajonaikaisia ominaisuuslippuja (esim. --harmony-generators
), tai yksinkertaisesti ottavat kaiken käyttöön ja pitäytyvät käytössään rajatussa osassa.
io.js@1.8 (V8 4.1+) myötä nuo hankaluudet poistuvat. Kaikki harmonyn ominaisuudet on nyt loogisesti jaoteltu kolmeen ryhmään, eli valmiisiin, koekäyttövaiheen ja kehitysvaiheen ominaisuuksiin:
+--es_staging
(tai sen synonyymin --harmony
).--harmony_arrow_functions
), joskin se ei ole suositeltavaa kuin koemielessä.Block scoping
+ +++As of v8 3.31.74.1, block-scoped declarations are intentionally implemented with a non-compliant limitation to strict mode code. Developers should be aware that this will change as v8 continues towards ES6 specification compliance.
+
Collections
+ +Yksityiskohtaisempi lista, mihin sisältyy myös vertailu muihin suoritusympäristöihin, löytyy compat-table -projektin sivulta.
+Classes (strict mode only, behind flag --harmony_classes
which implies block scoping & object literal extensions)
Object literal extensions (behind flag --harmony_object_literals
)
Symbol.toStringTag
(user-definable results for Object.prototype.toString
, behind flag --harmony_tostring
)
Uusia ominaisuuksia lisätään jatkuvasti V8-suoritusympäristöön. Yleisesti voi olettaa niiden kaikkien päätyvän io.js:n tulevaisuudessa, joskin tarkka ajoitus on toistaiseksi vielä tuntematon.
+Voit listata kaikki saatavilla olevat kehitysvaiheen ominaisuudet kustakin io.js:n julkaisusta hakemalla --v8-options
tulosteesta. Huomioithan, että nämä ovat keskeneräisiä ja mahdollisesti rikkinäisiä V8:n ominaisuuksia, joten käytät niitä omalla vastuullasi:
iojs --v8-options | grep "in progress"
+
+Tällä hetkellä --harmony
-lippu tuo io.js:ssä käyttöön vain koekäyttövaiheen ominaisuudet. Käytännössä se on siis --es_staging
-lipun synonyymi. Kuten yllä on todetaan, nämä ovat valmiita ominaisuuksia mitä ei vielä pidetä vakaina (stable). Jos haluat pelata varman päälle, erityisesti tuotantoympäröissä, on syytä harkita tämän ajonaikaisen lipun käytöstä poistamista kunnes se on oletuksena käytössä V8:ssa ja sen myötä myös io.js:ssä. Jos kuitenkin pidät sen käytössä, varaudu siihen, että io.js:n päivitys voi aiheuttaa koodin rikkoutumista mikäli V8 alkaa seuraamaan standardeja tarkemmin.
io.js tarjoaa yksinkertaisen tavan listata kaikki riippuvuudet versioineen jotka toimitetaan kunkin binäärin osana globaalin process
-objektin kautta. V8-suoritusympäristön ollessa kyseessä, seuraava komentorivikomento palauttaa sen version:
iojs -p process.versions.v8
+
+io.js on JavaScript alusta joka perustuu Chrome's V8 runtime:en. Projekti alkoi haaraumana (fork) Joyentin Node.js™-projektista ja on yhteensopiva npm-ekosysteemin kanssa.
+io.js tähtää nopeampaan ja ennustettavampaan julkaisusykliin. Nykytilassaan se sisältää uusimmat kieli-, API- ja suorituskykymuutokset V8:sta, samalla on päivitetty myös libuv ja muita kantakirjastoja.
+Projektin tavoitteena on io.js:n jatkuva kehitys avoimen hallintamallin alaisuudessa, erona yrityksen johdon alaisena olemiseen.
+io.js siirtyi noudattamaan Semver-versiointia, ja muutokset Node.js™ 0.10 ja io.js 1.0.0 välillä olivat riittävän merkittäviä major-versionumeron päivittämiseksi.
+Projektin CHANGELOG v1.x-versioille sisältää yhteenvedon muutoksista Node.js v0.10.35 ja io.js v1.0.x välillä.
+Jokainen voi olla avuksi. io.js noudattaa määritettyä käyttäytymiskoodia, ja työpanokset, julkaisut ja yhteistyö ovat avoimen hallintamallin alaisia.
+Alkuun pääsemiseksi, avoimista asioista on keskusteluita GitHubissa, joista kuulemme mielellämme palautettasi.
+Keskusteluun osallistuminen on hyvä tapa tunnustella mille osa-alueille voisit apuasi tarjota. Jos löydät jotain missä koet pystyväsi olemaan avuksi, tee pull request.
+Lisäksi, Nodebug.me on hyvä tapa auttaa luokittelemalla ja priorisoimalla (Triage) backlogissa olevia avoimia asioita.
+IRC:in Freenode-verkossa on #io.js-kanava. Säilytämme lokeja kanavasta täällä.
+Open source hallinto määrittää miten avoimen lähdekoodin ja avoimen sisällön periaatteita sovelletaan niin, että jokainen halukas voi tarjota oman panoksensa lopputuotokseen, kuten wikissä. Lainsäädäntö on demokraattisesti avoin kaikelle kansalle, kollektiivisen viisauden tuomiseksi mukaan osaksi päätöksentekoprosessia ja demokratian parantamiseksi. [lähde], [suom.]
+Bringing ES6 to the Node Community!
-io.js is an npm compatible platform originally based on node.js™.
+Tuomme ES6:n Node-yhteisölle!
+io.js on npm-yhteensopiva alusta joka perustuu node.js™:n.
- -Download for -Linux, -Win32, Win64, -or -Mac.
+ +Lataa io.js: +Linuxille, +Windowsille (32-bittinen), +Windowsille (64-bittinen), +Macille tai +muu.
-Nightly releases are available for testing.
- +Jokailtaiset (nightly) julkaisut koekäyttötarkoituksiin.
+io.js is built against modern versions of V8. By keeping up-to-date with the latest releases of this engine we ensure new features from the JavaScript ECMA-262 specification are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.
-Version 1.3.0 of io.js ships with V8 4.1.0.14, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/node@0.12.x.
-On joyent/node@0.12.x (V8 3.26), the --harmony
runtime flag enabled all completed, staged and in progress ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for typeof
which were hidden under --harmony-typeof
). This meant that some really buggy or even broken features like proxies were just as readily available for developers as generators, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. --harmony-generators
), or simply enable all of them and then use a restricted subset.
With io.js@1.x (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for shipping, staged and in progress features:
+נבנה לצד הגרסאות העדכניות של מנוע ה V8. +שמירה על עדכניות ומודרניות מבטיחים לנו כפלטפורמה לספק את המלוא התכונות החדשות מJavaScript ECMA-262 specification מבעוד מועד. כמו כן, שיפורי ביצועים יציבות וכיוצא בזה.
+גרסת 1.3.0 מובאת עם גרסת 4.1.0.14 של הV8 שכוללת תכונותֿ/פיצ׳רים מES6 (ראה למטה), בשונה מגרסת 3.26.33 של הV8 שמובאת עם גרסה 0.12 של joyent/node
+בגרסת 0.12 של Joyent/node דגל הזמן ריצה(--harmony) מדליק/מביא לשימוש את כל התכונות/פיצ׳רים ה״יציבים״, ב"staging", וב-״inprogress״/בפיתוח של ES6.(משמע, כי ייתכן ״באגים״, ״׳פיצ׳רים לא שלמים״ וכיוצא בזה. למשל: Arrow Function אשר זמינים בחופשיות לשימוש כמו: Generators (אשר כמעט יציבים לחלוטין).
+לכן, רוב המשתמשים מעדיפים להדליק דגלים ספציפים למשל: --harmony-generators
.
+בגרסת 1.x של iojs (גרסת 4.1 של V8) אין כל מורכבות.
+כל הפ׳יצרים/תכונות של ES6 מחולקים ל3 תת קבוצות. shipping(יציב), staging, ובפיתוח.
--es_staging
(or its synonym, --harmony
).--harmony_arrow_functions
), although this is highly discouraged unless for testing purposes.generators
templates
ועוד תכונות נוספות למחרוזות(strings).--es_staging
.--harmony_arrow_functions
Block scoping
@@ -59,7 +63,7 @@-As of v8 3.31.74.1, block-scoped declarations are intentionally implemented with a non-compliant limitation to strict mode code. Developers should be aware that this will change as v8 continues towards ES6 specification compliance.
+נכון לגרסת 3.31.74.1 v8, הצהרות של block-scoped מיושמות במכוון בהגבלה שאינה תואמת ל"strict mode". משתמשים צריכים להיות מודעים לכך שזה ישתנה ראה: דיון
You can view a more detailed list, including a comparison with other engines, on the compat-table project page.
-הינך יכול לצפות ברשימה המלאה, כולל השוואה עם מנועים אחרים/מקבילים. ראה: compat-table
+Classes (strict mode only)
@@ -111,12 +115,14 @@Symbol.toStringTag
(user-definable results for Object.prototype.toString
)
The current behaviour of the --harmony
flag on io.js is to enable staged features only. After all, it is now a synonym of --es_staging
. As mentioned above, these are completed features that have not been considered stable yet. If you want to play safe, especially on production environments, consider removing this runtime flag until it ships by default on V8 and, consequently, on io.js. If you keep this enabled, you should be prepared for further io.js upgrades to break your code if V8 changes their semantics to more closely follow the standard.
io.js provides a simple way to list all dependencies and respective versions that ship with a specific binary through the process
global object. In case of the V8 engine, type the following in your terminal to retrieve its version:
iojs -p process.versions.v8
-
+פיצ׳רים/תכונות חדשים באופן קוב מתווספים למנוע הV8. באופן כללי, אין הערכה מדוייקת מתי ייכנסו ליציבות בiojs.
+בכל גרסא של iojs ניתנת לך האפשרות לצפות בפיצ׳רים/תכונות שבפיתוח על ידי הרצה של הפקודה: iojs --v8-options | grep "in progress"
.( עלייך לדעת שפיצ׳רים אלו עלולים להיות ״שבורים״ וששימוש בהם הינו על אחריותך :)).
שימוש בדגל זה בiojs ידליק את התכונות שקיימות בגרסת ה״סטייג׳ינג״. כפי שהוזכר למעלה, אם הינך מחפש יציבות במיוחד בסביבת ״פרודקשיין״ העדיפות הינה לא להשתמש בדגלים. +אם הינך מחליט בכל זאת להריץ את התוכנה שלך על דגל, עליך להיות מודע כי הקוד שלך עלול להישבר בעתיד בהתאם לעידכוני גרסא של מנוע הV8.
+iojs מספק מידע על כל התלויות באובייקט הגלובלי(process
), במקרה של הV8 הקלד את הפקודה הבא בטרמינל:iojs -p process.versions.v8
io.js is a JavaScript platform built on Chrome's V8 runtime. This project began as a fork of Joyent's Node.js™ and is compatible with the npm ecosystem.
-Why? io.js aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries.
-This project aims to continue development of io.js under an "open governance model" as opposed to corporate stewardship.
-io.js has moved to Semver and the changes between Node.js™ 0.10 and io.js 1.0.0 were significant enough -to warrant a major version increment.
-Our CHANGELOG for v1.x provides a summary of changes from Node.js v0.10.35 to io.js v1.0.x.
-Everyone can help. io.js adheres to a code of conduct, and contributions, releases, and contributorship are under an open governance model.
-To get started, there are open discussions on GitHub, and we'd love to hear your feedback. -Becoming involved in discussions is a good way to get a feel of where you can help out further. If there is -something there you feel you can tackle, please make a pull request.
-In addition, using Nodebug.me is a good way to help Triage the issues in the backlog.
-There is an #io.js channel on Freenode IRC. We keep logs of the channel here.
-Open source governance advocates the application of the philosophies of the open source and open content movements in order to enable any interested party to add to the creation of the end product, as with a wiki document. Legislation is democratically opened to the general citizenry, employing their collective wisdom to benefit the decision-making process and improve democracy. [source]
+io.js היא פלטפורמת ג'אווהסקריפט הבנוייה על מנוע V8 של כרום. הפרוייקט התחיל כפיצול מ Node.js™ של חברת Joynet והוא עובד היטב עם מערכת הnpm
+המטרה של io.js היא לספק שחרורים בקצב מהיר וצפוי יותר. כרגע נמצאים בו השיפורים העדכניים לשפה, הAPI והביצועים של V8, בנוסף, אנו מעדכנים את libuv וספריות בסיס אחרות.
+מטרת הפרוייקט היא להמשיך את הפיתוח של io.js תחת מודל "ממשל פתוח", בניגוד לשליטה ע"י קואופרטיב או חברה.
+שיטת הגירסאות של io.js הומרה לSemver, והשינויים בין Node.js™ 0.10 לבין io.js 1.0.0 היו משמעותיים מספיק בשביל להצדיק הקפצת גירסת major.
+הCHANGELOG (אנגלית) עבור גירסה 1.x מכיל את תקציר השינויים מNode.js v0.10.35 אל io.js v1.0.x.
+כל אחד יכול לעזור. io.js שומר על קוד התנהגות, וכל התרומות והשחרורים הם תחת מודל הממשל הפתוח.
+בשביל להתחיל, יש דיונים פתוחים בGitHub (אנגלית), ונשמח לקבל מכם משוב. להשתתף בדיונים היא דרך נהדרת לקבל מושג של איפה תוכלו לעזור יותר. אם יש משהו שאתם חושבים שתוכלו לטפל בו, נשמח לpull request מכם.
+בנוסף, שימוש בNodebug.me היא דרך טובה לעזור ולזהות את הבעיות הדחופות יותר.
+יש ערוץ #io.js בIRC תחת רשת Freenode, יש לנו לוגים של הערוץ כאן.
+ממשל פתוח היא שיטה הפועלת ליישום פילוסופיות הקוד הפתוח והתוכן הפתוח בשביל לאפשר לכל צד מעוניין להוסיף ליצירת המוצר הסופי, בדומה למסמך Wiki. חקיקה היא דמוקרטית ופתוחה לציבור הרחב, תוך ניצול לטובה של החוכמה המשותפת לטובת תהליך קבלת ההחלטות ושיפור הדמוקרטיה. [מקור (אנגלית)]
Bringing ES6 to the Node Community!
-io.js is an npm compatible platform originally based on node.js™.
+מביאים את ES6 לקהילת Node
+io.js +היא פלטפורמה מבוססת במקור על +node.js™ +תואמת +npm
-Download for +
הורדות Linux, Win32, Win64, -or +או Mac.
- -Nightly releases are available for testing.
- + +בנייה ליילית +מוצעת לצורכי בדיקה
+io.js dikembangkan dengan versi modern dari V8. Dengan menjaga tetap teranyar dengan rilis terbaru dari engine ini kami memastikan fitur terbaru dari JavaScript ECMA-262 spesifikasi tersedia untuk pengembang io.js dengan tepat waktu, serta perbaikan yang berkelanjutan pada kinerja dan stabilitas.
Versi 1.3.0 dari io.js dikeluarkan dengan V8 4.1.0.14, yang meliputi ES6 fitur jauh melampaui versi 3.26.33 yang akan dikirim dengan joyent/node@0.12.x.
Di joyent/node@0.12.x (V8 3.26), --harmony
flag runtime memungkinkan semua ** diselesaikan**, ** staged ** dan ** in progress ** fitur ES6 bersama-sama, dalam jumlah besar (dengan pengecualian tidak standar/semantik non-harmonis untuk typeof
yang tersembunyi di bawah--harmony-typeof
). Ini berarti bahwa beberapa fitur yang sangat buggy atau bahkan rusak seperti proxy hanya sebagai tersedia untuk pengembang sebagai generators, yang memiliki sangat sedikit atau bahkan tidak ada yang diketahui-masalah. Dengan demikian, itu praktek terbaik baik memungkinkan hanya fitur tertentu dengan menggunakan flag fitur runtime harmoni tertentu (misalnya --harmony-generators
), atau dengan mengaktifkan semua dari mereka dan kemudian menggunakan subset terbatas.
Di joyent/node@0.12.x (V8 3.26), --harmony
flag runtime memungkinkan semua diselesaikan, staged dan in progress fitur ES6 bersama-sama, dalam jumlah besar (dengan pengecualian tidak standar/semantik non-harmonis untuk typeof
yang tersembunyi di bawah--harmony-typeof
). Ini berarti bahwa beberapa fitur yang sangat buggy atau bahkan rusak seperti proxy hanya sebagai tersedia untuk pengembang sebagai generators, yang memiliki sangat sedikit atau bahkan tidak ada yang diketahui-masalah. Dengan demikian, itu praktek terbaik baik memungkinkan hanya fitur tertentu dengan menggunakan flag fitur runtime harmoni tertentu (misalnya --harmony-generators
), atau dengan mengaktifkan semua dari mereka dan kemudian menggunakan subset terbatas.
Dengan io.js@1.x (V8 4.1+), semua kerumitan itu hilang. Semua fitur harmoni sekarang dibagi dengan logis menjadi tiga kelompok untuk shipping, staged dan in progress fitur:
--es_staging
(atau sinonimnya,--harmony
).--harmony_arrow_functions
), meskipun hal ini sangat tidak disarankan kecuali untuk tujuan pengujian.--es_staging
(atau sinonimnya,--harmony
).--harmony_arrow_functions
), meskipun hal ini sangat tidak disarankan kecuali untuk tujuan pengujian.Fungsi flag --harmony pada io.js saat ini adalah untuk mengaktifkan fitur ** staged ** saja. Selain itu, fungsi tersebut adalah sinonim dari --es_staging. Seperti disebutkan di atas, fitur-fitur tersebut belum dianggap stabil. Jika Anda ingin aman, terutama pada lingkungan produksi, pertimbangkan untuk menghapus flag runtime ini sampai fitur-fitur tersebut menjadi fitur bawaan pada V8 dan io.js. Jika Anda tetap mengaktifkan ini, Anda harus bersiap-siap untuk mengganti sumber kode anda jika ada pembaruan io.js dan perubahan pada V8 terlalu signifikan.
+Fungsi flag --harmony pada io.js saat ini adalah untuk mengaktifkan fitur staged saja. Selain itu, fungsi tersebut adalah sinonim dari --es_staging. Seperti disebutkan di atas, fitur-fitur tersebut belum dianggap stabil. Jika Anda ingin aman, terutama pada lingkungan produksi, pertimbangkan untuk menghapus flag runtime ini sampai fitur-fitur tersebut menjadi fitur bawaan pada V8 dan io.js. Jika Anda tetap mengaktifkan ini, Anda harus bersiap-siap untuk mengganti sumber kode anda jika ada pembaruan io.js dan perubahan pada V8 terlalu signifikan.
io.js menyediakan cara sederhana untuk membuat daftar semua dependensi dan versi masing-masing yang dikirimkan dengan biner tertentu melalui objek process
global. Dalam kasus V8 engine, ketik kode dibawah ini di terminal Anda untuk menampilkan versinya:
`sh iojs p process.versions.v8
`
io.js adalah platform JavaScript dibangun di atas V8 runtime Chrome. Proyek ini dimulai sebagai sebuah cabang dari Joyent di Node.js ™ dan kompatibel dengan ekosistem NPM.
-Mengapa? io.js bertujuan untuk memberikan siklus rilis lebih cepat dan dapat diprediksi. Saat ini menyatu dalam bahasa, API dan perbaikan kinerja terbaru untuk V8 sementara juga memperbarui libuv dan perpustakaan dasar lainnya.
-Proyek ini bertujuan untuk melanjutkan pengembangan io.js bawah "model pemerintahan yang terbuka" sebagai menentang kepengurusan perusahaan.
+Mengapa? io.js bertujuan untuk memberikan siklus rilis lebih cepat dan dapat diprediksi. Saat ini menyatu dalam API dan perbaikan kinerja versi terbaru untuk V8 dan juga memperbarui libuv dan library dasar lainnya.
+Proyek ini bertujuan untuk melanjutkan pengembangan io.js bawah "open governance model" sebagai menentang kepengurusan perusahaan.
io.js telah pindah ke Semver dan perubahan antara Node.js ™ 0,10 dan io.js 1.0.0 cukup signifikan untuk menjamin peningkatan versi utama.
-Kami CHANGELOG untuk v1.x menyediakan ringkasan perubahan dari Node.js v0.10.35 ke io.jsv1.0.x.
+io.js telah pindah ke Semver dan perubahan antara Node.js™ 0,10 dan io.js 1.0.0 cukup signifikan untuk menjamin peningkatan versi utama.
+CHANGELOG Kami untuk versi 1.x menyediakan ringkasan perubahan dari Node.js v0.10.35 ke io.jsv1.0.x.
Setiap orang dapat membantu. io.js dengan mematuhi kode etik, dan kontribusi, rilis, dan contributorship berada di bawah sebuah model pemerintahan yang terbuka.
-Untuk memulai, ada terbuka diskusi di GitHub, dan kami akan senang mendengar tanggapan Anda. -Terlibat dalam diskusi adalah cara yang baik untuk dapar merasakan di mana Anda dapat membantu lebih lanjut. Jika di sana ada sesuatu Anda merasa Anda dapat menangani, silakan membuat a permintaan persetujuan.
-Selain itu, dengan menggunakan Nodebug.me adalah cara yang baik untuk membantu Triage masalah dalam backlog.
-Ada channel # io.js pada Freenode IRC. Kami terus menyimpan logs dari kanal di sini.
+Setiap orang dapat membantu. io.js dengan mematuhi kode etik, dan kontribusi, rilis, dan contributorship berada di bawah sebuah model open governance model.
+Untuk memulai, buka diskusi di GitHub, dan kami akan senang mendengar tanggapan Anda. +Terlibat dalam diskusi adalah cara yang baik untuk dapar merasakan di mana Anda dapat membantu lebih lanjut. Jika di sana ada sesuatu Anda merasa Anda dapat menangani, silakan membuat permintaan persetujuan.
+Selain itu, dengan menggunakan Nodebug.me adalah cara yang baik untuk membantu Triage masalah dalam backlog.
+Ada channel #io.js pada Freenode IRC. Kami terus menyimpan logs dari kanal di sini.
Sumber pemerintahan yang terbuka pendukung penerapan filsafat open source dan gerakan content terbuka yang bertujuan untuk memungkinkan setiap pihak yang berkepentingan untuk menambah penciptaan produk akhir, seperti dokumen wiki. Legislasi yang demokratis dibuka untuk warga umum, menggunakan kebijaksanaan kolektif mereka untuk menguntungkan proses pengambilan keputusan dan meningkatkan demokrasi. [sumber]
Membawa ES6 ke Komunitas Node!
-io.js adalah npm platform yang aslinya kompatibel dengan [node.js] (https: //nodejs.org/)™.
+io.js adalah npm platform yang kompatibel dengan [node.js] (https: //nodejs.org/)™.
Unduh untuk @@ -44,13 +44,13 @@ Mac.
Rilis setiap malam tersedia untuk pengujian.
- +io.js is built against modern versions of V8. By keeping up-to-date with the latest releases of this engine we ensure new features from the JavaScript ECMA-262 specification are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.
-Version 1.3.0 of io.js ships with V8 4.1.0.14, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/node@0.12.x.
-On joyent/node@0.12.x (V8 3.26), the --harmony
runtime flag enabled all completed, staged and in progress ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for typeof
which were hidden under --harmony-typeof
). This meant that some really buggy or even broken features like proxies were just as readily available for developers as generators, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. --harmony-generators
), or simply enable all of them and then use a restricted subset.
With io.js@1.x (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for shipping, staged and in progress features:
+io.js integra al suo interno una versione moderna del motore V8. Rimanendo aggiornati con le ultime versioni di questo motore, possiamo rendere disponibili le nuove caratteristiche delle specifiche JavaScript ECMA-262 agli sviluppatori io.js in modo rapido, assieme ai continui miglioramenti nella stabilità e nelle prestazioni.
+La versione 1.2.0 di io.js viene rilasciata con la V8 4.1.0.14, che include caratteristiche di ES6 più avanzate rispetto alla versione 3.26.33 che sarà rilasciata assieme a joyent/node@0.12.x.
+Con joyent/node@0.12.x (V8 3.26), il flag di runtime --harmony
abilita le caratteristiche di ES6 completed, staged ed in progress tutte insieme, in blocco (con l'eccezione delle semantiche non-standard, non-harmony per typeof
, che sono abilitate dal flag --harmony-typeof
). Ciò implica che alcune caratteristiche problematiche come i proxies sono disponibili allo stesso livello dei generators, che hanno pochissimi difetti conosciuti o addirittura nessuno. Per questo motivo, sarebbe stato meglio o abilitare solo alcune caratteristiche utilizzando flag specifici, (es. --harmony-generators
), o semplicemente abilitarle tutte ma usarne solo un insieme ridotto.
Con io.js@1.x (V8 4.1+), tutta questa complessità è stata superata. Tutte le caratteristiche di harmony sono suddivise logicamente in tre gruppi per le caratteristiche shipping, staged ed in progress:
--es_staging
(or its synonym, --harmony
).--harmony_arrow_functions
), although this is highly discouraged unless for testing purposes.--es_staging
(o il suo sinonimo, --harmony
).--harmony_arrow_functions
), nonostante questo sia altamente sconsigliato, se non per finalità di test.Block scoping
@@ -59,7 +59,7 @@-As of v8 3.31.74.1, block-scoped declarations are intentionally implemented with a non-compliant limitation to strict mode code. Developers should be aware that this will change as v8 continues towards ES6 specification compliance.
+Dalla v8 3.31.74.1, le dichiarazioni block-scoped sono intenzionalmente implementate con una limitazione al codice in strict mode che non corrisponde con le specifiche. Gli sviluppatori devono essere a conoscenza del fatto che questo cambierà man mano che la V8 migliorerà la sua aderenza alle specifiche ES6.
You can view a more detailed list, including a comparison with other engines, on the compat-table project page.
-Puoi trovare una lista più dettagliata, oltre ad un confronto con altri motori, sulla pagina del progetto compat-table .
+Classes (strict mode only)
-Symbol.toStringTag
(user-definable results for Object.prototype.toString
)
Symbol.toStringTag
(possibilità di definire i risultati di Object.prototype.toString
)The current behaviour of the --harmony
flag on io.js is to enable staged features only. After all, it is now a synonym of --es_staging
. As mentioned above, these are completed features that have not been considered stable yet. If you want to play safe, especially on production environments, consider removing this runtime flag until it ships by default on V8 and, consequently, on io.js. If you keep this enabled, you should be prepared for further io.js upgrades to break your code if V8 changes their semantics to more closely follow the standard.
io.js provides a simple way to list all dependencies and respective versions that ship with a specific binary through the process
global object. In case of the V8 engine, type the following in your terminal to retrieve its version:
Il comportamento corrente del flag --harmony
con io.js è di abilitare solo le caratteristiche staged. In effetti è un sinonimo di --es_staging
. Come menzionato prima, queste sono caratteristiche completate ma che non sono considerate ancora stabili. Se volete essere al sicuro, specialmente in ambienti di produzione, valutate di rimuovere il flag finchè le caratteristiche non saranno disponibili di default su V8 e di conseguenza su io.js. Se mantenete il flag abilitato, preparatevi al fatto che upgrade futuri di io.js potrebbero guastare il vostro codice, se V8 dovesse cambiare la sua semantica per seguire lo standard più fedelmente.
io.js fornisce un modo semplice di elencare tutte le dipendenze e le corrispettive versioni che sono distribuite con una specifica versione dei binari, attraverso l'oggetto globale process
. Nel caso della V8, scrivete queste istruzioni nel vostro terminale per scoprire la versione:
iojs -p process.versions.v8