3 ms·
For anyone interested in trying some of this stuff out (which I highly recommend, because a lot of the new stuff in ES6 is really great), Google has an awesome
by kevincennis 13y ago
For anyone interested in trying some of this stuff out (which I highly recommend, because a lot of the new stuff in ES6 is really great), Google has an awesome tool called Traceur [https://github.com/google/traceur-compiler https://github.com/google/traceur-compiler] that will compile ES6 into ES5.
There's also an online version here: [https://github.com/google/traceur-compiler https://github.com/google/traceur-compiler] that's great for quick little experiments. And, as an added bonus, it encodes your script in the URL so you can share it.
- thurn 13y agoSounds like the Modules implementation isn't ready yet, that's too bad... probably one of the most useful parts of ES6
- kevincennis 13y agoYeah. There are some other things that are actually impossible, like WeakMaps. But still, the stuff that exists is pretty awesome.