Versions

JavaScript was developed by Brendan Eich in 1995. It was standardized in 1997 by European Computer Manufacturers Association (ECMA) and officially known as ECMAScript. The first version of the language is known as ECMSScript 1 (abbreviated as ES1). The fist three versiosn (ES1, ES2, and ES3) laid the foundation of the language. The fourth version, ES4, was abandoned. The first main revision done in ES5(2009). The second major revised version is ES6 (ECMAScript 2015). After 2015, the versions are named by the year in which it it released.

The latest version of JavaScript is ECMAScript 2023.

JavaScript Versions

In the Below table, we have specified detailed information about each version.

VersionOfficial NameRelease YearFeatures Added
ES1ECMAScript 11997First release
ES2ECMAScript 21998Minor changes
ES3ECMAScript 31999Added regular expressionsAdded do-whileAdded switchAdded try/catch
ES4ECMAScript 4Never Released.
ES5ECMAScript 52009JavaScript strict modeMultiline stringsString.trim()Array methodsObject methodsGetters and settersTrailing commas
ES6ECMAScript 20152015let and const statementsMap and set objectsArrow functionsFor/of loopSome array methodsSymbolClassesPromisesJavaScript ModulesNew Number methods and propertiesFor/of loopSpread operator
ES7ECMAScript 20162016Exponential (**) operatorArray.includes() method
ES8ECMAScript 20172017Added Async/awaitAdded Object.entries() methodAdded Object.values() methodAdded Object.getOwnPropertyDescriptor() methodAdded string padding
ES9ECMAScript 20182018Rest object propertiesJavaScript shared memoryPromise.finally() methodNew features of the RegExp() object
ES10ECMAScript 20192019String trim.start()String trim.end()Array.flat()Revised Array.sort()Revised JSON.stringify() / toString()Object.fromEntries() method
ES11ECMAScript 20202020Nullish Coalescing Operator (??)BigInt primitive data type
ES12ECMAScript 20212021String.replaceAll() methodPromise.Any() method
ES13ECMAScript 20222022The static block inside the classNew class featuresTop-level await
ES14ECMAScript 20232023Array findLast() & findLastIndex()Hashbang GrammerSymbols as WeakMap keys

Since 2016, early update is being released with version named by the year of release. The update release in June 2023 is known as ECMAScript 2023.

Browser Support

All modern browsers fully support the ES1 to ES6. For other versions, you may use Polyfill and write the additional code.

ChromeFirefoxMicrosoft EdgeOperaSafariFirefox Android
YesYesYesYesYesYes

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *