We recently added a way to turn on JavaScript Harmony features in Chrome. If you have a Canary or a recent Developer Channel build of Chrome you can turn on some Harmony features from chrome://flags. You need to manually enter that address in your browser. Look for an entry called “Enable Experimental JavaScript”
The following 4 features are currently enabled if you turn on the experiment.
Over the next couple days I’ll post individual posts about each of these.
What are the chances of seeing generators in v8?
Thanks for the heads up on this! Been waiting a long time. I just finished updating my shim for the Direct Proxies shim to work in both Node and the browser (just Chrome really since you can just use the original shim by itself in Firefox).
https://github.com/Benvie/Direct-Proxies-Shim-Shim-for-Node-and-Chrome
What’s JavaScript Harmony?
Chrome and V8 are dedicated to JavaScript and we plan to support ES.next/ES6. Generators have been approved for Harmony. Whether generators will make it into ES.next/ES6 remains to be seen but I am pretty sure it will. I expect V8 to have generators available under a flag by the end of 2012.
These are my personal thoughts and does not reflect any official Google statements. I recommend keeping an eye on the V8 repo to see what they are working on.
Thanks!
Thanks for implementing “Map.prototype.forEach” in v8!