ECMAScript version history#9th Edition – ECMAScript 2018
{{Short description|Versions of a JavaScript standard}}
ECMAScript is a JavaScript standard developed by Ecma International. Since 2015, major versions have been published every June.
ECMAScript 2024, the 15th and current version, was released in June 2024.
Versions
In June 2004, Ecma International published ECMA-357 standard, defining an extension to ECMAScript, known as ECMAScript for XML (E4X). Ecma also defined a "Compact Profile" for ECMAScript – known as ES-CP, or ECMA 327 – that was designed for resource-constrained devices, which was withdrawn in 2015.[https://esdiscuss.org/notes/2015-03-24 2015-03-24 Meeting Notes] {{Webarchive|url=https://web.archive.org/web/20170623174545/https://esdiscuss.org/notes/2015-03-24 |date=2017-06-23 }}. ESDiscuss. Also see [http://www.ecma-international.org/publications/standards/Standardwithdrawn.htm Ecma withdrawn Standards] {{Webarchive|url=https://web.archive.org/web/20150813151843/http://www.ecma-international.org/publications/standards/Standardwithdrawn.htm |date=2015-08-13 }}. ECMA.
= 4th Edition (abandoned) =
The proposed fourth edition of ECMA-262 (ECMAScript 4 or ES4) would have been the first major update to ECMAScript since the third edition was published in 1999. The specification (along with a reference implementation) was originally targeted for completion by October 2008.{{cite web |last=Hansen |first=Lars T |date=2007-10-22 |title=ES4 overview paper released |url=https://mail.mozilla.org/pipermail/es-discuss/2007-October/001281.html |url-status=live |archive-url=https://web.archive.org/web/20131102172900/https://mail.mozilla.org/pipermail/es-discuss/2007-October/001281.html |archive-date=2013-11-02 |access-date=2013-10-31 |website=mozilla.org |publisher=Mail.mozilla.org}} The first draft was dated February 1999.{{cite web |last=Peyrott |first=Sebastian |date=2021-03-04 |title=The Real Story Behind ECMAScript 4 |url=http://auth0.com/blog/the-real-story-behind-es4/ |url-status=live |archive-url=https://web.archive.org/web/20200512222750/https://auth0.com/blog/the-real-story-behind-es4/ |archive-date=2020-05-12 |access-date=2020-03-05 |website=auth0.com}} An overview of the language was released by the working group on 23 October 2007.{{cite web|url = http://www.ecmascript.org/es4/spec/overview.pdf|title = Proposed ECMAScript 4th Edition – Language Overview|date = 23 October 2007|website = ecmascript.org|url-status = dead|archive-url = https://web.archive.org/web/20101223163429/http://www.ecmascript.org/es4/spec/overview.pdf|archive-date = 23 December 2010}}
By August 2008, the ECMAScript 4th edition proposal had been scaled back into a project code named ECMAScript Harmony. Features under discussion for Harmony at the time included:
- classes,
- a module system,
- optional type annotations and static typing, probably using a structural type system,
- generators and iterators,
- destructuring assignment, and
- algebraic data types.
The intent of these features was partly to better support programming in the large, and to allow sacrificing some of the script's ability to be dynamic to improve performance. For example, Tamarin – the virtual machine for ActionScript, developed and open-sourced by Adobe – has just-in-time compilation (JIT) support for certain classes of scripts.
In addition to introducing new features, some ES3 bugs were proposed to be fixed in edition 4.{{cite web |author=John Resig |url=http://ejohn.org/blog/bug-fixes-in-javascript-2/ |title=John Resig – Bug Fixes in JavaScript 2 |publisher=Ejohn.org |access-date=2013-10-31 |archive-date=2013-11-02 |archive-url=https://web.archive.org/web/20131102071850/http://ejohn.org/blog/bug-fixes-in-javascript-2/ |url-status=live }}{{cite web |url=http://www.ecmascript.org/es4/spec/incompatibilities.pdf |title=Compatibility Between ES3 and Proposed ES4 |publisher=Ecmascript.org |access-date=2013-10-31 |archive-url=https://web.archive.org/web/20140724055116/http://www.ecmascript.org/es4/spec/incompatibilities.pdf |archive-date=2014-07-24 |url-status=dead }} These fixes and others, and support for JSON encoding/decoding, have been folded into the ECMAScript, 5th Edition specification.{{cite web|title=ECMAScript Language Specification|website=Ecma International |url=http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf|date=2009-04-19|archive-url=https://web.archive.org/web/20090419044026/http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf|access-date=2018-03-19|archive-date=2009-04-19}}
Work started on Edition 4 after the ES-CP (Compact Profile) specification was completed, and continued for approximately 18 months where slow progress was made balancing the theory of Netscape's JavaScript 2 specification with the implementation experience of Microsoft's JScript .NET. After some time, the focus shifted to the ECMAScript for XML (E4X) standard. The update has not been without controversy. In late 2007, a debate between Eich, later the Mozilla Foundation's CTO, and Chris Wilson, Microsoft's platform architect for Internet Explorer, became public on a number of blogs. Wilson cautioned that because the proposed changes to ECMAScript made it backwards incompatible in some respects to earlier versions of the language, the update amounted to "breaking the Web",{{cite web |url=http://blogs.msdn.com/ie/archive/2007/10/30/ecmascript-3-and-beyond.aspx#5788577 |title=ECMAScript 3 and Beyond – IEBlog – Site Home – MSDN Blogs |publisher=Blogs.msdn.com |date=2007-10-30 |access-date=2013-10-31 |archive-date=2010-02-11 |archive-url=https://web.archive.org/web/20100211041416/http://blogs.msdn.com/ie/archive/2007/10/30/ecmascript-3-and-beyond.aspx#5788577 |url-status=live }} and that stakeholders who opposed the changes were being "hidden from view".{{cite web |url=http://blogs.msdn.com/cwilso/archive/2007/10/31/what-i-think-about-es4.aspx |title=What I think about ES4. – Albatross! – Site Home – MSDN Blogs |publisher=Blogs.msdn.com |date=2007-10-31 |access-date=2013-10-31 |archive-date=2010-01-27 |archive-url=https://web.archive.org/web/20100127185814/http://blogs.msdn.com/cwilso/archive/2007/10/31/what-i-think-about-es4.aspx |url-status=live }} Eich responded by stating that Wilson seemed to be "repeating falsehoods in blogs" and denied that there was attempt to suppress dissent and challenged critics to give specific examples of incompatibility.{{cite web |url=http://brendaneich.com/2007/10/open-letter-to-chris-wilson/ |title=Open letter to Chris Wilson |publisher=Brendan Eich |date=2007-10-31 |access-date=2013-10-31 |archive-date=2011-09-16 |archive-url=https://web.archive.org/web/20110916125711/http://brendaneich.com/2007/10/open-letter-to-chris-wilson/ |url-status=live }} He pointed out that Microsoft Silverlight and Adobe AIR rely on C# and ActionScript 3 respectively, both of which are larger and more complex than ECMAScript Edition 3.{{cite web |url=https://brendaneich.com/2007/11/my-media-ajax-keynote/ |title=JavaScript 2 and the Open Web |date=2007-11-20 |access-date=2014-01-20 |archive-date=2014-02-10 |archive-url=https://web.archive.org/web/20140210141906/https://brendaneich.com/2007/11/my-media-ajax-keynote/ |url-status=live }}
= 5th Edition – ECMAScript 2009 =
Yahoo, Microsoft, Google, and other 4th edition dissenters formed their own subcommittee to design a less ambitious update of ECMAScript 3, tentatively named ECMAScript 3.1. This edition would focus on security and library updates, with a large emphasis on compatibility. After the aforementioned public sparring, the ECMAScript 3.1 and ECMAScript 4 teams agreed on a compromise: the two editions would be worked on, in parallel, with coordination between the teams to ensure that ECMAScript 3.1 remains a strict subset of ECMAScript 4 in both semantics and syntax.
However, the differing philosophies in each team resulted in repeated breakages of the subset rule, and it remained doubtful that the ECMAScript 4 dissenters would ever support or implement ECMAScript 4 in the future. After over a year since the disagreement over the future of ECMAScript within the Ecma Technical Committee 39, the two teams reached a new compromise in July 2008: Brendan Eich announced that Ecma TC39 would focus work on the ECMAScript 3.1 (later renamed to ECMAScript, 5th Edition) project with full collaboration of all parties, and vendors would target at least two interoperable implementations by early 2009.{{cite web |url=https://mail.mozilla.org/pipermail/es-discuss/2008-August/003400.html |title=ECMAScript Harmony |date=13 August 2008 |publisher=Mail.mozilla.org |access-date=2013-10-31 |archive-date=2013-08-26 |archive-url=https://web.archive.org/web/20130826220148/https://mail.mozilla.org/pipermail/es-discuss/2008-August/003400.html |url-status=live }}{{cite web |url=http://blogs.msdn.com/jscript/archive/2009/04/09/a-major-milestone-in-javascript-standardization.aspx |title=A Major Milestone in JavaScript Standardization – JScript Blog – Site Home – MSDN Blogs |publisher=Blogs.msdn.com |date=2009-04-09 |access-date=2013-10-31 |archive-date=2010-03-23 |archive-url=https://web.archive.org/web/20100323052447/http://blogs.msdn.com/jscript/archive/2009/04/09/a-major-milestone-in-javascript-standardization.aspx |url-status=live }} In April 2009, Ecma TC39 published the "final" draft of the 5th edition and announced that testing of interoperable implementations was expected to be completed by mid-July.{{cite web| title= Ecma International finalises major revision of ECMAScript| url= http://www.ecma-international.org/news/PressReleases/PR_Ecma_finalises_major_revision_of_ECMAScript.htm| publisher= Ecma International| date= 2009-04-09| access-date= 2009-05-22| archive-date= 2011-09-04| archive-url= https://web.archive.org/web/20110904005644/http://www.ecma-international.org/news/PressReleases/PR_Ecma_finalises_major_revision_of_ECMAScript.htm| url-status= live}} On December 3, 2009, ECMA-262 5th edition was published.{{cite web |url=https://www.ecma-international.org/news/index1.html |title=Ecma previous news |publisher=Ecma-international.org |access-date=2020-03-29 |archive-date=2020-04-16 |archive-url=https://web.archive.org/web/20200416224446/https://www.ecma-international.org/news/index1.html |url-status=live }}
Additions include JSON, String.trim()
to easily remove whitespaces surrounding a string (" example "
to "example"
), String.charAt()
to return a single character from a given position in a string, and Array.isArray()
. A comma after the final pair of values in an object (var example = { "property1":"value1", "property2":"value2", }
) also no longer causes a syntax error.[https://www.w3schools.com/js/js_versions.asp JavaScript Versions] from W3schools
{{anchor|ES2015}}
= 6th Edition – ECMAScript 2015 =
The 6th edition, ECMAScript 6 (ES6) and later renamed to ECMAScript 2015, was finalized in June 2015.{{cite web|url=https://262.ecma-international.org/6.0/index.html|title=ECMAScript 2015 Language Specification|date=June 2015|publisher=Ecma International|access-date=2021-06-28|archive-date=2022-02-14|archive-url=https://web.archive.org/web/20220214064934/https://262.ecma-international.org/6.0/|url-status=live}}{{Cite news|url=http://www.infoworld.com/article/2937716/javascript/its-official-ecmascript-6-is-approved.html|title=It's official: ECMAScript 6 is approved|last=Krill|first=Paul|work=InfoWorld|access-date=2018-03-19|language=en|archive-date=2018-03-23|archive-url=https://web.archive.org/web/20180323031250/https://www.infoworld.com/article/2937716/javascript/its-official-ecmascript-6-is-approved.html|url-status=live}} This update adds significant new syntax for writing complex applications, including class declarations (let
keyword for local declarations, const
keyword for constant local declarations, binary data, typed arrays, new collections (maps, sets and WeakMap), promises, number and math enhancements, reflection, proxies (metaprogramming for virtual objects and wrappers) and template literals using backticks (`
) for multi-line strings without escape characters.{{Cite news|url=http://www.wintellect.com/devcenter/nstieglitz/5-great-features-in-es6-harmony|title=5 Great Features in EcmaScript 6 (ES6 Harmony) – Wintellect|date=2014-03-24|work=Wintellect|access-date=2018-03-19|language=en-US|archive-date=2017-07-22|archive-url=https://web.archive.org/web/20170722010519/http://www.wintellect.com/devcenter/nstieglitz/5-great-features-in-es6-harmony|url-status=dead}}{{Cite news|url=https://www.smashingmagazine.com/2015/10/es6-whats-new-next-version-javascript/|title=ECMAScript 6 (ES6): What's New In The Next Version Of JavaScript|date=2015-10-28|work=Smashing Magazine|access-date=2018-03-19|language=en-US|archive-date=2017-11-24|archive-url=https://web.archive.org/web/20171124163218/https://www.smashingmagazine.com/2015/10/es6-whats-new-next-version-javascript/|url-status=live}} The complete list is extensive.{{cite web|url=http://es6-features.org/|title=ECMAScript 6: New Features: Overview and Comparison|website=es6-features.org|access-date=2018-03-19|archive-date=2018-03-18|archive-url=https://web.archive.org/web/20180318064130/http://es6-features.org/|url-status=usurped}}{{cite web|url=https://262.ecma-international.org/6.0/index.html#sec-arrow-function-definitions|title=Standard ECMA-262 6th Edition / June 2015 ECMAScript 2015 Language Specification 14.2 Arrow Function Definitions|year=2015|website=www.ecma-international.org|access-date=2021-06-28|archive-date=2022-02-14|archive-url=https://web.archive.org/web/20220214064935/https://262.ecma-international.org/6.0/#sec-arrow-function-definitions|url-status=live}} As the first "ECMAScript Harmony" specification, it is also known as "ES6 Harmony".
{{anchor|ES2016}}
= 7th Edition – ECMAScript 2016 =
The 7th edition, or ECMAScript 2016, was finalized in June 2016.{{cite web|title=ECMAScript 2016 Language Specification|url=https://262.ecma-international.org/7.0/index.html|date=June 2016|publisher=Ecma International|access-date=2021-06-28|archive-date=2022-02-14|archive-url=https://web.archive.org/web/20220214064936/https://262.ecma-international.org/7.0/|url-status=live}} Its features include exponentiation operator **
for numbers, await
, async
keywords for asynchronous programming (as a preparation for ES2017), and the {{Code|code=Array.prototype.includes}} function. The exponentiation operator is equivalent to {{Code|code=Math.pow}}, but provides a simpler syntax similar to languages like Python, F#, Perl, and Ruby. async
/ await
was hailed as an easier way to use promises and develop asynchronous code.
{{anchor|ES2017}}
= 8th Edition – ECMAScript 2017 =
The 8th edition, or ECMAScript 2017, was finalized in June 2017.{{cite web|title=ECMAScript 2017 Language Specification|url=https://262.ecma-international.org/8.0/index.html|date=June 2017|publisher=Ecma International|access-date=2021-06-28|archive-date=2021-01-17|archive-url=https://web.archive.org/web/20210117001853/https://262.ecma-international.org/8.0/index.html|url-status=live}} Its features include the {{Code|code=Object.values}}, {{Code|code=Object.entries}} and {{Code|code=Object.getOwnPropertyDescriptors}} functions for easy manipulation of Objects, async
/ await
constructions that use generators and promises, and additional features for concurrency and atomics. It also includes String.prototype.padStart()
.{{cite web|url=http://2ality.com/2016/02/ecmascript-2017.html|title=ECMAScript 2017 (ES8): the final feature set|website=2ality|access-date=2018-04-23|archive-date=2018-04-23|archive-url=https://web.archive.org/web/20180423232252/http://2ality.com/2016/02/ecmascript-2017.html|url-status=live}}
{{anchor|ES2018}}
= 9th Edition – ECMAScript 2018 =
The 9th edition, or ECMAScript 2018, was finalized in June 2018.{{cite web|title=ECMAScript 2018 Language Specification|url=https://262.ecma-international.org/9.0/index.html|date=June 2018|publisher=Ecma International|access-date=2021-06-28|archive-date=2022-02-14|archive-url=https://web.archive.org/web/20220214064936/https://262.ecma-international.org/9.0/|url-status=live}} New features include the spread operator and rest parameters (...
) for object literals, asynchronous iteration, Promise.prototype.finally
and additions to RegExp.
The spread operator allows for the easy copying of object properties, as shown below.
let object = {a: 1, b: 2}
let objectClone = Object.assign({}, object) // before ES2018
let objectClone = {...object} // ES2018 syntax
let otherObject = {c: 3, ...object}
console.log(otherObject) // -> {c: 3, a: 1, b: 2}
{{anchor|ES2019}}
= 10th Edition – ECMAScript 2019 =
The 10th edition, or ECMAScript 2019, was published in June 2019.{{cite web|title=ECMAScript 2019 Language Specification|url=https://262.ecma-international.org/10.0/index.html|date=June 2019|publisher=Ecma International|access-date=2021-06-28|archive-date=2022-02-14|archive-url=https://web.archive.org/web/20220214064936/https://262.ecma-international.org/10.0/|url-status=live}} Added features include, but are not limited to, Array.prototype.flat
, Array.prototype.flatMap
, changes to Array.sort
, and Object.fromEntries
.
{{Code|code=Array.sort}} is now guaranteed to be stable, meaning that elements with equal sorting keys will not change relative order before and after the sort operation. Array.prototype.flat(depth=1)
flattens an array to a specified depth, meaning that all subarray elements (up to the specified depth) are concatenated recursively.
Another notable change is that so-called catch binding became optional.{{cite web |title=ES2019: optional catch binding |url=https://2ality.com/2017/08/optional-catch-binding.html |website=2ality.com |access-date=26 April 2022 |date=2017-08-13}}
{{anchor|ES2020}}
= 11th Edition – ECMAScript 2020 =
The 11th edition, or ECMAScript 2020, was published in June 2020.{{cite web|title=ECMAScript 2020 Language Specification|url=https://262.ecma-international.org/11.0/index.html|date=June 2020|publisher=Ecma International|access-date=2021-06-28|archive-date=2021-01-18|archive-url=https://web.archive.org/web/20210118040235/https://www.262.ecma-international.org/11.0/index.html|url-status=live}} In addition to new functions, this version introduces a BigInt
primitive type for arbitrary-sized integers, the nullish coalescing operator, and the globalThis object.
BigInts are created either with the {{Code|code=BigInt}} constructor or with the syntax {{Code|code=10n}}, where "n" is placed after the number literal. BigInts allow the representation and manipulation of integers beyond {{Code|code=Number.MAX_SAFE_INTEGER}}, while Numbers are represented by a double-precision 64-bit IEEE 754 value. The built-in functions in {{Code|code=Math}} are not compatible with BigInts; for example, exponentiation of BigInts must be done with the {{Code|code=**}} operator instead of {{Code|code=Math.pow}}.
The nullish coalescing operator, {{Code|code=??}}, returns its right-hand side operand when its left-hand side is {{Code|code=null}} or {{Code|code=undefined}}. This contrasts with the {{Code|code={{!}}{{!}}}} operator, which would return {{Code|code="string"}} for all "falsy" values, such as the ones below.
undefined ?? "string" // -> "string"
null ?? "string" // -> "string"
false ?? "string" // -> false
NaN ?? "string" // -> NaN
Optional chaining makes it possible to access the nested properties of an object without having an AND check at each level. An example is {{Code|code=const zipcode = person?.address?.zipcode}}. If any of the properties are not present, {{Code|code = zipcode}} will be {{Code|code = undefined}}.
{{anchor|ES2021}}
= 12th Edition – ECMAScript 2021 =
= 13th Edition – ECMAScript 2022 =
The 13th edition, ECMAScript 2022, was published in June 2022. This version introduces top-level {{Code|code=await}}, allowing the keyword to be used at the top level of modules; new class elements: public and private instance fields, public and private static fields, private instance methods and accessors, and private static methods and accessors; static blocks inside classes, to perform per-class evaluation initialization; the {{Code|code=#x in obj}} syntax, to test for presence of private fields on objects; regular expression match indices via the {{Code|code=/d}} flag, which provides start and end indices for matched substrings; the {{Code|code=cause}} property on {{Code|code=Error}} objects, which can be used to record a causation chain in errors; the {{Code|code=at}} method for Strings, Arrays, and TypedArrays, which allows relative indexing; and {{Code|code=Object.hasOwn}}, a convenient alternative to {{Code|code=Object.prototype.hasOwnProperty}}.
{{anchor|ES2023}}
= 14th Edition – ECMAScript 2023 =
The 14th edition, ECMAScript 2023, was published in June 2023.{{Cite web |date=June 2023 |title=ECMAScript 2023 Language Specification |url=https://tc39.es/ecma262/2023/ |access-date=2023-06-30 |website=Ecma International}} This version introduces the toSorted
, toReversed
, with
, findLast
, and findLastIndex
methods on Array.prototype
and TypedArray.prototype
, as well as the toSpliced
method on Array.prototype
; added support for #!
shebang comments at the beginning of files to better facilitate executable ECMAScript files; and allowed the use of most Symbols as keys in weak collections.
= 15th Edition – ECMAScript 2024 =
The 15th edition, ECMAScript 2024, was published in June 2024.{{Cite web |date=June 2024 |title=ECMAScript 2024 Language Specification |url=https://tc39.es/ecma262/2024/ |website=Ecma International}} This version introduces the Object.groupBy
and Map.groupBy
static methods, Promise.withResolvers
, various set operations on Set.prototype
, and the /v
unicode flag for regular expressions.
The Object.groupBy
and Map.groupBy
methods groups an iterable using the return value of a provided callback function.
// sample data
const arr = [
{ year: "2024", id: 0 },
{ year: "2023", id: 1 },
{ year: "2024", id: 2 },
];
const obj = Object.groupBy(arr, (el) => el.year);
console.log(obj);
// { "2024": [{ year: "2024", id: 0 }, { year: "2024", id: 2 }], "2023": [{ year: "2023", id: 1 }] }
Promise.withResolvers
provides a simple way to get a promise's resolve and reject functions directly without having to assign them in the constructor.{{Cite web |date=2023-11-23 |title=Promise.withResolvers() - JavaScript {{!}} MDN |url=https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers |access-date=2024-08-18 |website=developer.mozilla.org |language=en-US}}
// ES 2023
let resolve;
let reject;
let promise = new Promise((res, rej) => {
resolve = res;
reject = rej;
});
// ES 2024
const { resolve, reject, promise } = Promise.withResolvers();
The /v
flag in regular expressions is simply an improved version of the /u
flag, but as it makes backwards-incompatible changes it had to be introduced as a new flag.{{Cite web |title=RegExp v flag with set notation and properties of strings · V8 |url=https://v8.dev/features/regexp-v-flag |access-date=2024-08-18 |website=v8.dev}}
= ES.Next =
ES.Next is a dynamic name that refers to whatever the next version is at the time of writing. ES.Next features include finished proposals (aka "stage 4 proposals") as listed at [https://github.com/tc39/proposals/blob/main/finished-proposals.md finished proposals] that are not part of a ratified specification. The language committee follows a "living spec" model, so these changes are part of the standard, and ratification is a formality.{{Cite web |title=ES.Next is the next edition of the ECMAScript Language Specification — Tuto Javascript |url=https://gdevops.gitlab.io/tuto_javascript/versions/esnext/esnext.html |access-date=2023-07-05 |website=gdevops.gitlab.io}}
References
{{Reflist}}
External links
=JavaScript 1.0=
- As implemented in Netscape Navigator 2.0 before submitting the first version for standardization as Ecmascript: {{cite web |url=http://home.netscape.com/eng/mozilla/2.0/handbook/javascript/index.html |title=JavaScript Authoring Guide |access-date=2023-10-13 |archive-date=1997-06-13 |archive-url=https://web.archive.org/web/19970613234917/http://home.netscape.com/eng/mozilla/2.0/handbook/javascript/index.html |url-status=bot: unknown }}
=ISO standards=
- [https://www.iso.org/standard/73002.html ISO/IEC 22275:2018]
=ECMA standards=
- [https://www.ecma-international.org/publications-and-standards/standards/ecma-262/ ECMA-262 ECMAScript Language Specification]
- 1st Edition, June 1997: [https://www.ecma-international.org/wp-content/uploads/ECMA-262_1st_edition_june_1997.pdf PDF]
- 2nd Edition, August 1998: [https://www.ecma-international.org/wp-content/uploads/ECMA-262_2nd_edition_august_1998.pdf PDF]
- 3rd Edition, December 1999: [https://www.ecma-international.org/wp-content/uploads/ECMA-262_3rd_edition_december_1999.pdf PDF]
- Edition 3 Final, March 2000: [http://www-archive.mozilla.org/js/language/E262-3.pdf PDF]
- 4th Edition (overview): [https://web.archive.org/web/20110904224722/http://www.ecma-international.org/activities/Languages/Language%20overview.pdf PDF]
- 4th Edition (final draft): [http://www-archive.mozilla.org/js/language/old-es4 HTML], [https://web.archive.org/web/20070711045736/http://www.mozilla.org/js/language/Edition4.pdf PDF]
- 5th Edition, December 2009: [https://www.ecma-international.org/wp-content/uploads/ECMA-262_5th_edition_december_2009.pdf PDF]
- 5.1 Edition, June 2011: [https://262.ecma-international.org/5.1/ HTML], [https://web.archive.org/web/20111103184035/http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262%20edition%205.1%2C%20June%202011.pdf PDF]
- 6th Edition, June 2015 (ECMAScript 2015 Language Specification): [https://262.ecma-international.org/6.0/ HTML], [https://www.ecma-international.org/wp-content/uploads/ECMA-262_6th_edition_june_2015.pdf PDF]
- 7th Edition, June 2016 (ECMAScript 2016 Language Specification): [https://262.ecma-international.org/7.0/ HTML], [https://web.archive.org/web/20170624132204/http://ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf PDF]
- 8th edition, June 2017 (ECMAScript 2017 Language Specification): [https://262.ecma-international.org/8.0/ HTML], [https://web.archive.org/web/20180624062826/http://ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf PDF]
- 9th edition, June 2018 (ECMAScript 2018 Language Specification): [https://262.ecma-international.org/9.0/ HTML], [https://web.archive.org/web/20200227190559/http://ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf PDF]
- 10th edition, June 2019 (ECMAScript 2019 Language Specification): [https://262.ecma-international.org/10.0/ HTML], [https://web.archive.org/web/20200305204127/http://ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf PDF]
- 11th edition, June 2020 (ECMAScript 2020 Language Specification): [https://262.ecma-international.org/11.0/ HTML], [https://www.ecma-international.org/wp-content/uploads/ECMA-262_11th_edition_june_2020.pdf PDF]
- 12th edition, June 2021 (ECMAScript 2021 Language Specification): [https://262.ecma-international.org/12.0/ HTML], [https://www.ecma-international.org/wp-content/uploads/ECMA-262_12th_edition_june_2021.pdf PDF]
- 13th edition, June 2022 (ECMAScript 2022 Language specification):[http://262.ecma-international.org/13.0/ HTML], [https://www.ecma-international.org/wp-content/uploads/ECMA-262_13th_edition_june_2022.pdf PDF]
- 14th edition, June 2023 (ECMAScript 2023 Language specification):[http://262.ecma-international.org/14.0/ HTML], [https://www.ecma-international.org/wp-content/uploads/ECMA-262_14th_edition_june_2023.pdf PDF]
- 15th edition, June 2024 (ECMAScript 2024 Language specification):[https://262.ecma-international.org/15.0/ HTML], [https://www.ecma-international.org/wp-content/uploads/ECMA-262_15th_edition_june_2024.pdf PDF]
- [https://www.ecma-international.org/publications-and-standards/standards/ecma-290/ ECMA-290 ECMAScript Components Specification (June 1999)]
- [https://www.ecma-international.org/publications-and-standards/standards/ecma-327/ ECMA-327 ECMAScript 3rd Edition Compact Profile (June 2001)]
- [https://web.archive.org/web/20131104082608/http://www.ecma-international.org/publications/standards/Ecma-357.htm ECMA-357 ECMAScript for XML (E4X) Specification (June 2004)]