The first thing you need to know which explains all the instability and continuous changes to the framework is that it was built within ten days in May of 1995. The language was developed by Brendan Eich, who at that time, was a Netscape Engineer. After Netscape, he co-founded Mozilla (famous for Firefox). Currently, he's building at Brave.
In a bid to making ECMAScript a better language for browsers, lots and lots of changes went in to improve what Brendan had done. The improvements come in batches, and each batch is released at a particular time.
Fast-forward to now, a lot of controversies and disagreement happened between the ES3 period to what we have now. All in an effort to make this one language a great tool for browsers.
It also didn't help that browsers didn't support ES6 features which led to the introduction of transpilers.
The question I always get comes in either of these forms:
- What is ECMAScript 2015/ES6?
Let's get some answers!
What is ES2015?
For example, when declaring variables,
var works as well as
var is not to be used anymore or doesn't work anymore.