John Resig - Versions of JavaScript (original) (raw)

With the recent talk of JavaScript 1.9 there’s been some confusion as to what exactly that version means – especially in relation to other browsers. Here’s a quick breakdown:

It should be noted that the only browser that supports ‘JavaScript’ are Mozilla-based ones. However, all modern browsers support a version of ECMAScript – at least version 3. JavaScript 1.6-1.9 are just code names for the interim versions of ECMAScript (JavaScript on Gecko) that are leading up to JavaScript 2.0 (ECMAScript 4). Of course no other browser will support another JavaScript 1.6-1.9, since they aren’t obligated to support JavaScript. However, that hasn’t stopped browsers from implementing JavaScript features (such as getters and setters in Opera and Safari).

A big goal of Mozilla is to try implementing difficult ECMAScript features, helping to lead other browsers by example. By using these stepping-stone JavaScript 1.6-1.9 releases as a way to test out bug fixes and functionality both users, and browser vendors, can get a better picture of the changes that will be occurring in the language. This has been a big point in the development of JavaScript 2 (ECMAScript 4) – Mozilla was able to show, through demonstrable real-world usage, that certain features were safe to implement (generators, array comprehension, and getters and setters). Mozilla will be continuing this tradition with JavaScript 1.9, landing new features and bug fixes (the vast majority of which will be from the upcoming ECMAScript 4 specification) – helping to bring the newest version of JavaScript just a couple steps closer.

Posted: April 22nd, 2008


Subscribe for email updates


Comments are closed.
Comments are automatically turned off two weeks after the original post. If you have a question concerning the content of this post, please feel free to contact me.