ECMAScript: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Sesta Edizione: Correzione forma italiana
LauBot (discussione | contributi)
m Bot: passaggio degli url da HTTP a HTTPS
Riga 40:
|5
|Dicembre 2009
|Aggiunge lo "strict mode" inteso a provvedere un più completo controllo di errori ed a scoraggiare gli sviluppatori ad incappare in errori. Chiarifica molte ambiguità introdotte nella terza versione. Aggiunge anche alcune feature come i getters ed i setters, la libreria per il supporto a JSON e la reflection sulle proprietà degli oggetti.<ref>{{Cita web|url= httphttps://www.youtube.com/watch?v=Kq4FpMe6cRs|titolo= Changes to JavaScript, Part 1: EcmaScript 5|editore= YouTube|data= 18 maggio 2009|accesso= 31 ottobre 2013}}</ref>
|[[Pratap Lakshman]], [[Allen Wirfs-Brock]]
|-
Riga 50:
|6 (ES2015)
|Giugno 2015<ref>http://www.infoworld.com/article/2937716/javascript/its-official-ecmascript-6-is-approved.html</ref>
|La sesta edizione, conosciuta come ECMAScript 2015<ref>httphttps://www.ecma-international.org/ecma-262/6.0/</ref> ma anche come "Harmony", apporta modifiche sintattiche significative che aprono la porta ad applicazioni più complesse, includendo classi e moduli definendoli semanticamente come lo "strict mode" in ECMAScript 5. Altre nuove features sono diversi iteratori, for/of loop, Python-style generators e generator expression, arrow functions, binary data, typed arrays, collections (maps, sets e weak maps), promises, miglioramenti delle funzioni matematiche, reflection e proxies (metaprogrammazione per virtual objects).
|Allen Wirfs-Brock
|-
Riga 63:
|
|}
Nel giugno 2004, Ecma International pubblicò ECMA-357 come standard definendo un'estensione di ECMAScript, conosciuta come ECMAScript per XML (E4X). Ecma definì anche un "Compact Profile" per ECMAScript (conosciuto come ES-CP o ECMA 327) ideato per dispositivi dalle risorse limitate, ritirato nel 2015.<ref name="ES-CP-withdrawn">[https://esdiscuss.org/notes/2015-03-24 2015-03-24 Meeting Notes]. ESDiscuss. Also see [httphttps://www.ecma-international.org/publications/standards/Standardwithdrawn.htm Ecma withdrawn Standards]. ECMA.</ref>
 
=== Quarta Edizione (abbandonata) ===
Riga 85:
 
=== Sesta Edizione ===
ECMAScript 6 (ES6) fu concluso nel giugno del 2015.<ref name="auto">{{cita web |url=httphttps://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf |titolo=Copia archiviata |accesso=16 aprile 2015 |urlmorto=sì |urlarchivio=https://web.archive.org/web/20150412040502/http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf |dataarchivio=12 aprile 2015 }}. EMCAScript. Retrieved on 2015-06-19.</ref><ref>[httphttps://www.ecma-international.org/ecma-262/6.0/ECMA-262.pdf Standard ECMA - 262 6th Edition / June 2015, ECMAScript ® 2015 Language Specification]</ref> La Sesta edizione implementa significativi cambiamenti sintattici per scrivere applicazioni più complesse, incluse le classi e i moduli definendoli semanticamente come si farebbe in ECMAScript in strict mode. Altre novità comprendono gli iteratori, il nuovo ciclo for/of, generatori in stile [[Python]] e generator expressions, arrow functions, dati binari, [[Array|vettori]] tipizzati, collezioni (mappe, set e weak maps), promises, numeri e migliorie matematiche, reflection, e proxies (metaprogrammazione per oggetti virtuali e wrappers).<ref>http://www.wintellect.com/devcenter/nstieglitz/5-great-features-in-es6-harmony</ref><ref>https://www.smashingmagazine.com/2015/10/es6-whats-new-next-version-javascript/</ref> La lista completa è piuttosto lunga.<ref>http://es6-features.org/#Constants</ref>
 
Il supporto da parte dei browser di ES6 rimane ancora incompleto per il momento.<ref>https://kangax.github.io/compat-table/es6/</ref>
Riga 122:
|Carakan <small>(deprecated)</small>
|[[Opera (web browser)|Opera 12]]
|ECMA-262, edizione 5<ref>Full ECMAScript 5.1 support in Opera 11.51+[http://my.opera.com/desktopteam/blog/2011/09/13/es5].</ref><ref>Opera's implementation includes some JavaScript and JScript extensions: [httphttps://www.opera.com/docs/specs/presto23/ecmascript/ ECMAScript support in Opera Presto 2.3]</ref>
|-
|[[RemObjects Script]] for .NET
Riga 130:
|[[KJS (software)|KJS]]
|[[KHTML]]
|ECMA-262, edizione 5.1<ref>{{Cita web|url= http://buschinski.de/2013/01/kjs-finally-under-1000-fails/|titolo= bUscher » Blog Archive » kjs finally under 1000 fails!|sito= buschinski.de}}</ref> e caratteristiche dalla 6<ref>Commits marked with ES6 are implementations of ES6 features: {{collegamento interrotto|1=httphttps://quickgit.kde.org/?p=kjs.git&a=shortlog |date=marzo 2018 |bot=InternetArchiveBot }}</ref>
|-
|Ejscript
Riga 142:
|[[ActionScript]]
|[[Adobe Flash]], [[Adobe Flex]], [[Adobe AIR]]
|ECMA-262, edizione 4<ref>Completely conforming implementation of the ECMAScript fourth edition draft specification: [[ActionScript]]</ref><ref>In addition to supporting ECMA-262 edition 3, ActionScript 3 also included support for extensions proposed in drafts of ECMAScript edition 4: [httphttps://blogs.adobe.com/kiwi/2006/05/as3_language_101_for_cc_coders.html The Kiwi Project: AS3 language 101 for C/C++ coders].</ref>
|-
|[[Adobe ExtendScript]]
Riga 179:
|[[Chakra (JavaScript engine)|Chakra]]
|[[Microsoft Edge]]
|ECMA-262, edizione 5.1, e caratteristiche dalla 6<ref>Microsoft states that Edge "supports most ES2015 features," supporting 81% of the specification as of May 2015 and 67% as of September 2015. [httphttps://blogs.windows.com/msedgedev/2015/05/12/javascript-moves-forward-in-microsoft-edge-with-ecmascript-6-and-beyond/][https://kangax.github.io/compat-table/es6/]</ref>
|-
|}