ECMAScript 4 Milestone 2 Released
ECMAScript 4 M2 has been released and Francis Cheng has posted about the new version. The new build, M2 (for Milestone 2), replaces the M1 build that was posted back in November 2007. 

M2 fully implements:
- classes and interfaces
- namespaces
- pragmas
- let, const, let-const
- iterators
- enumerability control
- type expressions / definitions / annotations
- runtime type checks (”standard mode”)
- nullability
- destructuring assignment
- slice syntax
- hashcode
- catchalls
- map & vector
- date & time improvements
- meta objects
- static generics
- string trim
- typeof
- globals
- expression closures
- name objects
- type operators (is / to / cast / wrap)
Francis also posted about Vectors: "A new built-in class named Vector is proposed for ECMAScript edition 4. This class is similar to the Array class, but is designed for better performance, efficiency and error checking."
David Tucker has posted about Colin Moock and his new lecture notes on the language changes that include:
- Generic Functions
- Iterators and Generators
- Proper Tail Calls
- New Number Types
- Vector Type
- Record Type
- Array Type
- Union Types
Dave Herman has created a set of binaries for Windows, Mac OSX and Linux that you can download from the ecmascript.org downloads area.
Comments
Be the first to write a comment
You must me logged in to write a comment.