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.


Become an expert in solving problems with DSA JavaScript—the course designed to teach you Data Structures and Algorithms using JavaScript. Over the next 90 days, dive deep into key DSA concepts, learn to optimize your code, and gain hands-on experience solving challenging problems. Whether you're a beginner or looking to refine your JavaScript skills, this course will provide the knowledge you need to succeed.
Take on the Three 90 Challenge today! Complete 90% of the course within 90 days, and you’ll earn a 90% refund. This challenge is your chance to stay motivated, improve your skills, and get rewarded for your progress. Don’t wait—start your journey to DSA mastery with JavaScript today!


Next Article

Similar Reads

JavaScript History, Versions
JavaScript, a high-level, dynamic, and interpreted programming language, is renowned for its pivotal role in web development, enabling interactive and dynamic web pages. Its creation and evolution are integral to the history of the web. Developer and Initial DevelopmentDeveloper: JavaScript was created by Brendan Eich in 1995 while he was working f
3 min read
Node.js process.versions Property
The process.versions property is an inbuilt application programming interface of the process module which is used to get the versions of node.js modules and it's dependencies. Syntax: process.versions Return Value: This property returns an object containing the versions of the node.js module and it's dependencies. Below examples illustrate the use
2 min read
How to run two PHP versions for two projects on same apache server ?
In this article, we will learn about running two versions of PHP on the same Apache server. To manage many domains, the Apache webserver uses virtual hosts on a single instance. Prerequisite: We will be using the XAMPP server to use the Apache server and some knowledge to use it. First, download the older version of XAMPP that can be of any version
2 min read
How to Run Multiple Versions of Node.js ?
Usually, we work on different versions for our Node.js project and it's hard to manage them, but fortunately, there is a tool called NVM(node version manager) which helps to manage your node version and switch between them according to your projects. Install NVM Module: You can install the nvm module using the following command: Using curl: $ curl
2 min read
Which versions of React include Hooks?
React Hooks were introduced in React version 16.8. They were a significant addition to the React library and provided a new way to work with stateful logic and side effects in functional components. Before the introduction of Hooks, stateful logic was primarily managed in class components using the lifecycle methods. React Hooks, including useState
1 min read
Unpublishing Specific version number & All Available Versions of NPM Package
Publishing packages to the npm registry is common for sharing code, libraries, and utilities with the broader community. However, there are situations where you may need to unpublish packages or specific versions. Unpublishing is a sensitive action that requires carefulness to minimize disruptions and maintain the integrity of the npm ecosystem. In
2 min read
How to override nested NPM dependency versions?
In projects the packages download and used using npm are called dependency and each dependencies can have their own nested dependencies that also gets downloaded. These nested dependency creates conflicts due to the presence of multiple version of the same dependency. This will lead to issues like compatibility, security vulnerabilities, and unexpe
5 min read
Node JS Versions
Node.js is an open-source, cross-platform runtime environment built on Chrome’s V8 JavaScript engine for executing JavaScript code outside of a browser. It provides an event-driven, non-blocking (asynchronous) I/O and cross-platform runtime environment for building highly scalable server-side applications using JavaScript. Node.js versions are mana
5 min read
What are LTS versions of Node.js ?
LTS version is an abbreviation of the Long Time Support version where the release of the software is maintained for a more extended period of time. The LTS version is commonly recommended to users for production environments. In Node.js, new versions frequently come with more features, optimized performance, and bug fixes. Node.js versions look lik
3 min read
CSS History and Versions
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML or XML, including various XML languages like SVG and XHTML. CSS defines how elements should be rendered on screens, paper, in speech, or on other media, playing a vital role in web development and design. Origins and Development1. D
4 min read
Angular Versions and Releases
Angular is a widely used JavaScript framework for building dynamic web applications developed by Google. Since the beginning, Angular has undergone several major version changes, each introducing significant improvements and features. Angular has gone through many iterations, evolving from the original AngularJS (1.x) (JavaScript-based) to the more
6 min read
JavaScript Course Understanding Code Structure in JavaScript
Inserting JavaScript into a webpage is much like inserting any other HTML content. The tags used to add JavaScript in HTML are <script> and </script>. The code surrounded by the <script> and </script> tags is called a script blog. The 'type' attribute was the most important attribute of <script> tag. However, it is no
4 min read
Introduction to JavaScript Course - Learn how to build a task tracker using JavaScript
This is an introductory course about JavaScript that will help you learn about the basics of javascript, to begin with, the dynamic part of web development. You will learn the basics like understanding code structures, loops, objects, etc. What this course is about? In this course we will teach you about the basics of the scripting language i.e) Ja
4 min read
JavaScript Course Loops in JavaScript
Looping in programming languages is a feature that facilitates the execution of a set of instructions/functions repeatedly while some condition evaluates to true. For example, suppose we want to print “Hello World” 10 times. Example: In this example we will print the same things, again and again, to understand the work of Loops. <script> cons
4 min read
JavaScript Course Logical Operators in JavaScript
logical operator is mostly used to make decisions based on conditions specified for the statements. It can also be used to manipulate a boolean or set termination conditions for loops. There are three types of logical operators in Javascript: !(NOT): Converts operator to boolean and returns flipped value &&:(AND) Evaluates operands and retu
3 min read
JavaScript Course What is JavaScript ?
JavaScript is a very famous programming language that was originally started in the year of 1995 with the motive of making web pages alive. It is also an essential part of the web developer skillset. In simple terms, if you want to learn web development then learn HTML & CSS before starting JavaScript. HTML: HTML is used to create the structure of
3 min read
JavaScript Course Operators in JavaScript
An operator is capable of manipulating a certain value or operand. Operators are used to performing specific mathematical and logical computations on operands. In other words, we can say that an operator operates the operands. In JavaScript, operators are used for comparing values, performing arithmetic operations, etc. There are various operators
7 min read
JavaScript Course Functions in JavaScript
Javascript functions are code blocks that are mainly used to perform a particular function. We can execute a function as many times as we want by calling it(invoking it). Function Structure: To create a function, we use function() declaration. // Anonymous function function(){ // function...body } // function with a name function displayMessage(){
4 min read
JavaScript Course Conditional Operator in JavaScript
JavaScript Conditional Operators allow us to perform different types of actions according to different conditions. We make use of the 'if' statement. if(expression){ do this; } The above argument named 'expression' is basically a condition that we pass into the 'if' and if it returns 'true' then the code block inside it will be executed otherwise n
3 min read
JavaScript Course Objects in JavaScript
We have learned about different Data Types that javascript provides us, most of them primitive in nature. Objects are not primitive in nature and are a bit complex to understand. Everything in javascript is basically an object, and that is the reason why it becomes very important to have a good understanding of what they are. Objects are used to st
4 min read
How to compare two JavaScript array objects using jQuery/JavaScript ?
In this article, we are given two JavaScript array/array objects and the task is to compare the equality of both array objects. These are the methods to compare two JavaScript array objects: Using jQuery not() methodUse the sort() functionUse JSON.stringify() functionUsing every() and indexOf()Using Lodash _.isEqual() MethodApproach 1: Using jQuery
3 min read
How can JavaScript codes be hidden from old browsers that do not support JavaScript ?
Nowadays all modern browsers support JavaScript, however, older browsers did not support JavaScript. In this article, we will learn how we can hide JavaScript code from running in older browsers. Approach: After opening the <script> tag, we will use a one-line HTML style comment without any closing character ( <!-- ). We will then write th
2 min read
How are the JavaScript window and JavaScript document different from one another?
What is a JavaScript window? The window is at a root/top level at the JavaScript object hierarchy. It is a global/root object in JavaScript and it is the root object of the Document object model(DOM); What is a JavaScript document? A document is an object inside the window object and we use a document object for manipulation inside the document. Th
3 min read
Explore the concept of JavaScript Function Scope and different types of JavaScript Functions
JavaScript is based on functional programming. Therefore, functions are fundamental building blocks of JavaScript. So the function is called first-class citizens in JavaScript. Syntax: Define a functionfunction functionName(parameters) { // SET OF STATEMENTS } Call a functionfunctionName(arguments); The function execution stops when all the stateme
10 min read
Which href value should we use for JavaScript links, "#" or "javascript:void(0)" ?
In this article, we will know which "href" should be used for JavaScript when we can use "#" or "javascript:void(0)". Let us understand it. Using the '#' value: The # is a fragment identifier used to refer to a specific section of the same document. When a user clicks a link with a # href, the browser will scroll to that section of the page specifi
3 min read
JavaScript Program to find Length of Linked List using JavaScript
Given a linked list, the task is to determine its length using various methods. The linked list is a fundamental data structure consisting of nodes connected in a chain, offering efficient data organization. Different approaches, including Iterative and Recursive Methods, enable us to compute the length of a linked list easily. Use the below approa
3 min read
JavaScript Course Variables in JavaScript
Variables in JavaScript are containers that hold reusable data. It is the basic unit of storage in a program. The value stored in a variable can be changed during program execution. A variable is only a name given to a memory location, all the operations done on the variable effects that memory location. In JavaScript, all the variables must be dec
4 min read
How to Delay a JavaScript Function Call using JavaScript ?
Delaying a JavaScript function call involves postponing its execution for a specified time using methods like setTimeout(). This technique is useful for timed actions, animations, or asynchronous tasks, enabling smoother user experiences and better control over when certain operations run. There are several ways to delay the execution of a function
3 min read
How to Convert JavaScript Class to JSON in JavaScript?
When transmitting or saving class data in a structured manner, converting an instance of a class into a JSON format is also necessary. JSON (JavaScript Object Notation) supplies a method of turning objects into strings. They can be sent across a network or stored in a database, properties of the instance of the class should be taken out and changed
2 min read
How to Convert a JavaScript Object to a Form Data in JavaScript?
In web development, especially when dealing with forms and AJAX requests, you might find yourself needing to convert a JavaScript object into a FormData object. The FormData interface provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be sent via XMLHttpRequest or fetch() to the ser
4 min read
  翻译: