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

ECMAScript is the official name of the language.

ECMAScript versions have been abbreviated to ES1, ES2, ES3, ES5, and ES6.

Since 2016 new versions are named by year (ECMAScript 2016 / 2017 / 2018).

ECMAScript Editions

Allows trailing commas for function parameters
Ver Official Name Description
ES1 ECMAScript 1 (1997) First edition
ES2 ECMAScript 2 (1998) Editorial changes
ES3 ECMAScript 3 (1999) Added regular expressions
Added try/catch
Added switch
Added do-while
ES4 ECMAScript 4 Never released
ES5 ECMAScript 5 (2009)

 
Added "strict mode"
Added JSON support
Added String.trim()
Added Array.isArray()
Added Array iteration methods
Allows trailing commas for object literals
ES6 ECMAScript 2015

 
Added let and const
Added default parameter values
Added Array.find()
Added Array.findIndex()
  ECMAScript 2016

 
Added exponential operator (**)
Added Array.includes()
  ECMAScript 2017

 
Added string padding
Added Object.entries()
Added Object.values()
Added async functions
Added shared memory
  ECMAScript 2018

 
Added rest / spread properties
Added asynchronous iteration
Added Promise.finally()
Additions to RegExp

This tutorial covers every version of JavaScript:

  • The Original JavaScript ES1 ES2 ES3 (1997-1999)
  • The First Main Revision ES5 (2009)
  • The Second Revision ES6 (2015)
  • Yearly Additions (2016, 2017, 2018)



Practice Excercise Practice now