Sitemap
Jonathan Michael Hammond

Jonathan Michael Hammond

I am teaching myself HTML5, CSS3, and JavaScript + jQuery, which is easier to figure out than learning Python and data science on my own.

ECMAScript Version History

3 min readMar 13, 2023

So, this morning I woke up a bit too late to code. I instead navigated over to https://roadmap.sh/, where I reviewed the JavaScript roadmap and decided to use it as a prompt for ChatGBT (https://chat.openai.com/auth/login?next=/chat).

Below is the summary ChatGBT provided, “a brief overview of the changes made in each version of ECMAScript:

Get Jonathan Michael Hammond’s stories in your inbox

Join Medium for free to get updates from this writer.

ECMAScript 1 (1997):

  • The first version of ECMAScript, based on the original JavaScript language.
  • Introduced basic syntax and features, including variables, loops, conditional statements, functions, and objects.

ECMAScript 2 (1998):

  • Minor update with bug fixes and clarifications.

ECMAScript 3 (1999):

  • Introduced many new features, including try-catch exception handling, regular expressions, and the switch statement.
  • Improved support for object-oriented programming with the introduction of the prototype chain and the bind() method.

ECMAScript 4 (abandoned):

  • Proposed major update with significant changes to the language, including a new syntax for classes, interfaces, and modules.
  • However, the proposal was never fully adopted due to disagreements between browser vendors and other stakeholders.

ECMAScript 5 (2009):

  • Introduced several new features, including strict mode, which enabled a subset of the language with stricter syntax and error handling.
  • Added new array methods, including forEach(), map(), filter(), and reduce().
  • Added JSON.parse() and JSON.stringify() methods for working with JSON data.

ECMAScript 6 (2015):

  • Also known as ES2015, this version introduced many major changes and new features, including:
  • Classes and modules with a new syntax for creating and exporting modules.
  • Arrow functions with a simplified syntax and lexical scoping of the this keyword.
  • Template literals for creating string templates with embedded expressions.
  • Promises for handling asynchronous operations with more readability and less error-prone code.
  • Destructuring assignments for easily extracting values from arrays and objects.
  • Rest and spread operators for handling variable-length argument lists and array/object manipulation.

ECMAScript 7 (2016):

  • A relatively minor update with only a few new features, including:
  • Exponentiation operator for computing exponents.
  • Array.prototype.includes() method for checking if an array contains a given value.

ECMAScript 8 (2017):

  • Added several new features, including:
  • Async/await for working with asynchronous operations with a more synchronous-looking syntax.
  • Object.values() and Object.entries() methods for extracting object values and key/value pairs, respectively.
  • String padding methods for padding strings with a given character.

ECMAScript 9 (2018):

  • Introduced several new features, including:
  • Rest properties for destructuring objects into other objects.
  • Spread properties for combining objects into other objects.
  • Asynchronous iteration for working with streams and other asynchronous data sources.

ECMAScript 10 (2019):

  • Added several new features, including:
  • Array.flat() and Array.flatMap() methods for flattening nested arrays and mapping/reducing them at the same time.
  • Optional chaining and nullish coalescing operators for handling null and undefined values in a more concise and readable way.

ECMAScript 11 (2020):

  • A relatively minor update with only a few new features, including:
  • BigInt for working with integers larger than 2⁵³-1.
  • Promise.allSettled() method for waiting on multiple promises to settle, regardless of whether they were fulfilled or rejected.

ECMAScript 12 (2021):

  • Currently in development, so the final features have not been confirmed yet.
  • Some of the proposed features include a record data structure, additional improvements to the optional chaining operator, and additional methods for working with objects and arrays.

These are just some of the major changes that have been introduced in each version of ECMAScript, but there are many more changes and new features that have been added over the years!”

What are your thoughts on the above? Did ChatGBT leave out anything you consider crucial? Did it make any mistakes?

I don’t know about you, but this is fascinating to me. I look forward to attempting the same thing for CSS later this week.

--

--

Jonathan Michael Hammond
Jonathan Michael Hammond

Written by Jonathan Michael Hammond

I am teaching myself HTML5, CSS3, and JavaScript + jQuery, which is easier to figure out than learning Python and data science on my own.