What JavaScript versions are there and how do they map to Node.JS versions?
Published: |
Updated:
| by Julian Knight Reading time ~1 min.
📖 Kb
| 📎
Development
| 🔖
JavaScript, ECMAscript, node.js, nodejs
There are now far too many versions of JavaScript. Worse, there are several ways to refer to a JavaScript version. Then we have Node.JS which has its own versioning. This post tries to summarise it all.
This is just a summary for my own reference. See References below for more details.
Please let me know if there are any errors. I will update the table periodically.
ECMA-262 Version | ECMAScript Year Version | Publish Date | Node.JS Version |
---|---|---|---|
5 | N/A | 2009-12 | |
6 | ES2015 | 2015-06 | 6.5.0+ |
7 | ES2016 | 2016-06 | 7.0.0+ |
8 | ES2017 | 2017-06 | 8.10.0+ |
9 | ES2018 | 2018-06 | 10.0.0+ |
Notes:
- Versions of Node.JS prior to those shown are likely to support some features of newer JS versions. The versions shown are those that support virtually all of the features.
- Some JavaScript features may not be implemented in Node.JS.
- Node uses the V8 JavaScript engine. Also used by the chromium browser (which underpins Vivaldi, Google Chrome, Opera and many others. Soon to be used by Microsoft Edge as well).
References 🔗︎
- Wikipedia ECMAScript Article
- Kangax’s JavaScript Compatability Table
- Node Green - Maps Node versions to JavaScript versions and shows what is supported in each version. Uses Kangax’s table.
- Mozilla Developer Network (MDN) - Details each aspect of JavaScript as a reference, each page has a compatibility table showing browsers support. Uses Kangax’s table.