Skip to content
Executable ES6 example codes for lukehoban/es6features.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
out/src
src
test
.travis.yml
package.json
readme.md

readme.md

es6features-playground Build Status

Executable ES6 example codes for lukehoban/es6features.

traceur 0.0.30

Some case are not supported.

  • "Enhanced Object Literals"
  • "Const"
  • "Comprehensions"
  • "Module Loaders"
  • "Subclassable Built-ins"

Other ... "Tail Calls"

V8

You should set --harmony for node and use Node.js > v0.11.

  • Set
  • Map
  • WeakSet
  • WeakMap

Proxy

Node v0.11 doesn't support Direct Proxies.

You need to use tvcutsem/harmony-reflect.

Setting WebStorm

Set JavaScript language version ECMAScript6

es6

Add Watcher for traceur.

$ traceur --experimental --sourcemap --out out/file.js --script src/file.js

Don't forget --script option!

watcher

Run test

You should call require('traceur');. (Needed traceur-runtime.js)

This project has mocha.opts - --require test/test-helper.js

test-helper.js

require('traceur');
You can’t perform that action at this time.