THE WORLD'S LARGEST WEB DEVELOPER SITE
×

JS Tutorial

JS HOME JS Introduction JS Where To JS Output JS Syntax JS Statements JS Comments JS Variables JS Operators JS Arithmetic JS Assignment JS Data Types JS Functions JS Objects JS Scope JS Events JS Strings JS String Methods JS Numbers JS Number Methods JS Math JS Random JS Dates JS Date Formats JS Date Methods JS Arrays JS Array Methods JS Array Sort JS Booleans JS Comparisons JS Conditions JS Switch JS Loop For JS Loop While JS Break JS Type Conversion JS Bitwise JS RegExp JS Errors JS Debugging JS Hoisting JS Strict Mode JS Style Guide JS Best Practices JS Mistakes JS Performance JS Reserved Words JS Versions JS JSON

JS Forms

JS Forms Forms API

JS Objects

Object Definitions Object Properties Object Methods Object Prototypes

JS Functions

Function Definitions Function Parameters Function Invocation Function Closures

JS HTML DOM

DOM Intro DOM Methods DOM Document DOM Elements DOM HTML DOM CSS DOM Animations DOM Events DOM EventListener DOM Navigation DOM Nodes DOM Nodelist

JS Browser BOM

JS Window JS Screen JS Location JS History JS Navigator JS Popup Alert JS Timing JS Cookies

JS AJAX

AJAX Intro AJAX XMLHttp AJAX Request AJAX Response AJAX XML File AJAX PHP AJAX ASP AJAX Database AJAX Applications AJAX Examples

JS JSON

JSON Intro JSON Syntax JSON vs XML JSON Data Types JSON Objects JSON Arrays JSON Parse JSON Stringify JSON PHP JSON HTML JSON JSONP

JS Examples

JS Examples JS HTML DOM JS HTML Input JS HTML Objects JS HTML Events JS Browser JS Quiz JS Certificate

JS References

JavaScript Objects HTML DOM Objects


JavaScript Versions


JavaScript was invented by Brendan Eich in 1995, and became an ECMA standard in 1997.
ECMA-262 is the official name of the standard. ECMAScript is the official name of the language.


ECMAScript Editions

Year Name Description
1997 ECMAScript 1First Edition.
1998 ECMAScript 2Editorial changes only.
1999 ECMAScript 3Added Regular Expressions.
Added try/catch.
ECMAScript 4Was never released.
2009 ECMAScript 5Added "strict mode".
Added JSON support.
2011 ECMAScript 5.1Editorial changes.
2015 ECMAScript 6Added classes and modules.
2016 ECMAScript 7Added exponential operator (**).
Added Array.prototype.includes.

ECMAScript 6 is also called ECMAScript 2015.

ECMAScript 7 is also called ECMAScript 2016.


Browser Support

ECMAScript 3 is fully supported in all browsers.

ECMAScript 5 is fully supported in all modern browsers*.

ECMAScript 6 is partially supported in all modern browsers.

ECMAScript 7 is poorly supported in all browsers.

* Internet Explorer 9 does not support ECMAScript 5 "use strict".


ECMAScript Browser Implementations

EngineECMABrowser
V8 6Chrome (Partial Support)
SpiderMonkey 6Firefox (Partial Support)
Chakra 6Edge (Partial Support)
Nitro 6Safari (Partial Support)
V8 6Opera (Partial Support)
V8 5Chrome 23
SpiderMonkey 5Firefox 21
JavaScript 1.8.5 5Firefox 4
Nitro 5Safari 6
V8 5Opera 15
Chakra 5Edge 12
Chakra 5IE 10

JavaScript / ECMAScript / JScript

JavaScript was developed for Netscape. The first browser to run JavaScript was Netscape 2 in 1996. After Netscape the Mozilla foundation continued to develop JavaScript for the Firefox browser. JavaScript version numbers run from 1.0 to 1.8.

ECMAScript was developed by Ecma International after the organization adopted JavaScript. The first edition of ECMAScript was released in 1997. ECMAScript version numbers run from 1 to 7.

JScript was developed by Microsoft as a compatible JavaScript language for Internet Explorer in 1996. JScript version numbers runs from 1.0 to 9.0. 

This list compares the version numbers of the three different products:

Year JavaScriptECMAJScriptBrowser
1996 1.0   Netscape 2
1996   1.0 Internet Explorer 3
1996 1.1   Netscape 3
1997 1.2   Netscape 4
1997   1 3.0 Internet Explorer 4
1998 1.3 1   Netscape 4.06
1999   2 5.0 Internet Explorer 5
1999   2 5.1 Internet Explorer 5.1
2000   3 5.5 Internet Explorer 5.5
2000 1.5 3   Netscape 6
2000 1.5 3   Firefox 1
2001   3 5.6 Internet Explorer 6
2006   3 5.7 Internet Explorer 7
2005 1.6 3   Firefox 1.5
2006 1.7 3   Firefox 2
2008 1.8 3   Firefox 3
2009   3 5.8 Internet Explorer 8
2009 1.8.1 5   Firefox 3.5 (Partial Support)
2009 1.8.2 5   Firefox 3.6 (Partial Support)
2011 1.8.5 5   Firefox 4
2011   5 9.0 Internet Explorer 9 (Partial Support)

Internet Explorer 4 (JScript 3.0) and Netscape 4.06 (JavaScript 1.3) were the first browsers to support ECMAScript 1.

Internet Explorer 5 (JScript 5.0) was the first browser to support ECMAScript 2.

Internet Explorer 5.5 (JScript 5.5) and Netscape 6 (JavaScript 1.5) were the first browsers to support ECMAScript 3.

Internet Explorer 9 (JScript 9.0) and Firefox 3.5 (JavaScript 1.8.1) were the first browsers to support ECMAScript 5.