Open In App

JavaScript Versions

Last Updated : 16 Nov, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

JavaScript is a popular programming language used by developers all over the world. It’s a lightweight and easy-to-learn language that can run on both the client-side (in your browser) and the server-side (on the server). JavaScript was created in 1995 by Brendan Eich.

In 1997, JavaScript became a standard, known as ECMAScript. Since then, there have been many versions of ECMAScript, with new features added over the years. Each version after 2016 is named after the year it was released, like ECMAScript 2016, ECMAScript 2017, and so on.

JavaScript Versions

Let’s take a look at the different versions of ECMAScript, their release years, and the key features they introduced:

Version Name Release Year Features
ES1 ECMAScript 1 1997 Initial Release
ES2 ECMAScript 2 1998 Minor Editorial Changes
ES3 ECMAScript 3 1999

Added:

ES4 ECMAScript 4   Abandoned due to conflicts
ES5 ECMAScript 5 2009

Added:

ES6 ECMAScript 2015 2015

Added:

ES7 ECMAScript 2016 2016

Added:

ES8 ECMAScript 2017 2017

Added:

ES9 ECMAScript 2018 2018

Added:

ES10 ECMAScript 2019 2019

Added:

ES11 ECMAScript 2020 2020

Added:

ES12 ECMAScript 2021 2021

Added:

ES13 ECMAScript 2022 2022

Added:

  • Top-level await
  • New class elements
  • Static block inside classes
ES14 ECMAScript 2023 2023

Added:

Note: Older versions of browsers do not support ES6.

JavaScript Versions – FAQs

What is ECMAScript?

ECMAScript (ES) is the standardized scripting language specification upon which JavaScript is based. It standardizes the core features and functionalities of JavaScript.

What is ES6?

ES6, also known as ECMAScript 2015, is the sixth edition of the ECMAScript standard. It introduced significant improvements and new features to JavaScript, including arrow functions, classes, template literals, and more.

What are some key features introduced in ES6 (ECMAScript 2015)?

  • Arrow functions
  • Classes
  • Template literals
  • Default parameters
  • Destructuring assignment
  • Modules
  • Promises
  • let and const keywords

What is ES5?

ES5, or ECMAScript 5, is the fifth edition of the ECMAScript standard, released in 2009. It added new features to the language, including strict mode, JSON support, and new array methods.



Next Article

Similar Reads

three90RightbarBannerImg
  翻译: