Es6 vs javascript - Explain the difference.

175    Asked by HienCastanon in Java , Asked on Oct 4, 2022

What is ES6? Is it JavaScript? Or multiple language supporters?

I searched for it but can't understand it, especially the page on Wikipedia. Is it better than Javascript? And what can I do in my web development using this language?

So what ES6 is, and how can I use it in my web app development ?

Answered by himanshu

es6 vs javascript

ES6 is short-hand for EcmaScript 6, which is a deprecated name for the EcmaScript 2015 language specification. ES2015 is the 6th version of EcmaScript, thus why it was previously referred to as ES6. For reasons best known to themselves, those responsible for defining the language standard renamed it to ES2015 with the final version of the v6 spec. EcmaScript is the "official" name for JavaScript. Now that ES2015 is finalised, it effectively just becomes JavaScript v6 to most people.

Aside from ES4, there is no real difference between JavaScript and EcmaScript. ES4 introduced classes and static typing and was the standard behind Flash's ActionScript 3, but it was never ratified as a JavaScript language, as it introduced too many breaking changes. It was eventually abandoned and ES3.1 became ES5, which is the JavaScript version used in the "HTML5" world.

Your Answer


Parent Categories