What is ECMAScript?
The name ECMAScript was a compromise between the organizations involved in standardizing the language. There are nine editions of ECMAScript published. The last ECMA version was published in June 2018.
|1.3||October 1998||ECMAScript 1 & 2||4.0|
|1.5||November 2000||ECMAScript 3||1.0||5.5-8.0||1.0-10.0.666|
|1.6||November 2005||ECMAScript for XML||1.5|
|1.8.5||March 2011||ECMAScript 5||4||9, 10||13.0+|
var version = 1.0;
This will trow an alert with the version your browser is using. You can also check it here on CodePen: https://codepen.io/catalin586/pen/jebKEM