Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING BASH RUST

Basic JavaScript

JS Tutorial JS Syntax JS Variables JS Operators JS If Conditions JS Loops JS Strings JS Numbers JS Functions JS Objects JS Dates JS Arrays JS Typed Arrays JS Sets JS Maps JS Math JS RegExp JS Data Types JS Errors JS Events JS Programming JS References JS UTF-8 Characters JS Versions

JS Advanced

JS Functions JS Objects JS Classes JS Iterations JS Asynchronous JS Modules JS HTML DOM JS Windows JS Web API JS AJAX JS JSON JS jQuery JS Graphics JS Examples JS Reference


JavaScript Versions

Current JavaScript Version

The current ECMAScript version is ES2025.

ECMAScript is the official name of the JavaScript standard.

JavaScript was invented by Brendan Eich in 1995 and became an ECMA standard in 1997.

The firs ECMAScript versions was abbreviated by numbers. (ES1, ES2, ES3, ES5, ES6).

From 2016, versions are named by year (ECMAScript 2016, 2017, 2018, ..., 2025).

Note

W3Schools Covers All JavaScript Versions !


ECMAScript Editions

Official Name Most Important Features
ECMAScript 1 (1997)First edition
ECMAScript 2 (1998)Only editorial changes
ECMAScript 3 (1999) Regular expressions
Error handling (try...catch)
The switch keyword
The do...while loop
ECMAScript 4Never released
ECMAScript 5 (2009)

See Details
The "use strict" Directive
JSON support
The String trim() method
String property access [ ]
Allows trailing commas for object literals
New Array methods:
  • Array forEach
  • Array reduce()
  • Array reduceRight()
  • Array filter()
  • Array map()
  • Array every()
  • Array some()
  • Array indexOf()
  • Array lastIndexOf()
  • Array isArray()
ECMAScript 6 (2015)

See Details
The let and const keywords
Default parameter values
The Array find() method
The Array findIndex() method
ECMAScript 2016

See Details
The ** Exponentiation Operator
The Array includes() method
ECMAScript 2017

See Details
The String padEnd() Method
The String padStart() Method
The String padEnd() Method
The Object values() method
The Object entries() method
The Object getAllPropertyDescriptors() method
The async and await keywords
Trailing commas

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.