04.11.2015 Views

javascript

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Evolution of<br />

JavaScript<br />

With the renewed interest in web development since 2004, conversations began taking place<br />

among browser vendors and other interested parties as to how JavaScript should evolve. Work on<br />

the fourth edition of ECMA - 262 began based largely on two competing proposals: one for<br />

Netscape ’ s JavaScript 2.0 and the other for Microsoft ’ s JScript.NET. Instead of competing in the<br />

browser realm, the parties converged back into ECMA to hammer out a proposal for a new<br />

language based on JavaScript. Initially, work began on a proposal called ECMAScript 4, and for a<br />

long time, this seemed like the next evolutionary step for JavaScript. When a counterproposal<br />

called ECMAScript 3.1 was later introduced, it threw the future of JavaScript into question. After<br />

much debate, it was determined that ECMAScript 3.1 would be the next step for JavaScript and<br />

that a further effort, code-named Harmony, would seek to reconcile some features from<br />

ECMAScript 4 into ECMAScript 3.1. To understand how this will affect JavaScript in the future, it ’ s<br />

important to take a look at all of the steps along this process.<br />

ECMA Script 4/JavaScript 2<br />

The ECMAScript 4 proposal was originally scheduled to be completed by October 2008 and is still<br />

in flux at the time of this writing. There are several parts of the language that are likely to be in the<br />

final version and deserve some attention. Mozilla had taken an approach of implementing small<br />

sets of proposed ECMAScript 4 functionality through a series of JavaScript releases beginning with<br />

JavaScript 1.5 in Firefox 1 and culminating with JavaScript 2 in Firefox 4.<br />

There are a series of changes being actively made to JavaScript and a series of proposed changes<br />

being made to ECMAScript through specification changes. The changes are grouped accordingly<br />

in the following material to give you some idea as to what is already available and what may be<br />

coming. All of the changes made in JavaScript 1.5 through 1.9 are part of the ECMAScript 4<br />

proposal.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!