|ECMAScript Revision Announced - the first in ten years|
Microsoft staffers Pratap Lakshman and Allen Wirfs-Brock were the project editors for this new proposal, and they worked closely with many organizations including Google, Mozilla, Yahoo!, Opera, and Apple.
|The goal of this revision was to update the ECMAScript specification to reflect the language as it is actually implemented in modern web browsers and to establish a foundation for the future evolutions of the language. |
New features include accessor properties, reflective creation and inspection of objects, program control of property attributes, additional array manipulation functions, support for the JSON object encoding format, and a strict mode that provides enhanced error checking and program security.
Many of these features standardize enhanced functionality that has been provided by individual browsers but has not yet been universally adopted.
Microsoft's JScript Blog [blogs.msdn.com]
This is great news - I've been waiting and watching for an update on this since last year, but the blogoshpere has been pretty quiet. With all the simultaneous work on 3.1 and 4, a compromised 4 nicknamed "Harmony" - and now there is no 4, but there is a 5? It couldn't be more confusing. But the numbers aren't what matters; I'm eager to sift through it.
I wonder if anyone has prepared a "diff" summary - tell me what's new in this spec so I can skip to the good parts.
For a little background, go back to August 2008:
It certainly is hard trying to find the things you want without reading the whole thing. Somethiing a don't have time for today.
The things that continue to bug are more deeply structural. The fact that there is little sensible support for sub-typing, and (a personal bugbear) that it is not possible to denote a member as "do not enumerate". I will be pleasantly surprised if these things are addressed at all.
BTW, this morning Dion posted his comments: