How do I know which version of Javascript I'm using?

I'm just reading this documentation about Javascript 1.2, but I'm wondering which version of Javascript is being used in the most popular browsers.



Wikipedia (or rather, the community on Wikipedia) keeps a pretty good up-to-date list here.

  • Most browsers are on 1.5 (though they have features of later versions)
  • Mozilla progresses with every dot release (they maintain the standard so that's not surprising)
  • Firefox 4 is on JavaScript 1.8.5
  • The other big off-the-beaten-path one is IE9 - it implements ECMAScript 5, but doesn't implement all the features of JavaScript 1.8.5 (not sure what they're calling this version of JScript, engine codenamed Chakra, yet).

Click on this link to see which version your BROWSER is using:

You should be able filter by using script tags to each JS version.

<script type="text/javascript">
  var jsver = 1.0;
<script language="Javascript1.1">
  jsver = 1.1;
<script language="Javascript1.2">
  jsver = 1.2;
<script language="Javascript1.3">
  jsver = 1.3;
<script language="Javascript1.4">
  jsver = 1.4;
<script language="Javascript1.5">
  jsver = 1.5;
<script language="Javascript1.6">
  jsver = 1.6;
<script language="Javascript1.7">
  jsver = 1.7;
<script language="Javascript1.8">
  jsver = 1.8;
<script language="Javascript1.9">
  jsver = 1.9;

<script type="text/javascript">

My Chrome reports 1.7

Blatantly stolen from:


In chrome you can find easily not only your JS version but also a flash version. All you need is to type chrome://version/ in a command line and you will get something like this:

enter image description here


Rather than finding which version you are using you can rephrase your question to "which version of ECMA script does my browser's JavaScript/JSscript engine conform to".

For IE :

alert(@_jscript_version);      //IE

Refer Squeegy's answer for non-IE versions :)


All of todays browsers use at least version 1.5:

Concerning your tutorial site, the information there seems to be extremely outdated, I beg you to head over to MDC and read their Guide:

You may still want to watch out for features which require version 1.6 or above, as this might give Internet Explorer some troubles.


JavaScript 1.2 was introduced with Netscape Navigator 4 in 1997. That version number only ever had significance for Netscape browsers. For example, Microsoft's implementation (as used in Internet Explorer) is called JScript, and has its own version numbering which bears no relation to Netscape's numbering.


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.