3 ms·
Use ES6 via http://babeljs.io/ http://babeljs.io/ already, and be happy :-P.
by BrendanEich 11y ago
Use ES6 via http://babeljs.io/ http://babeljs.io/ already, and be happy :-P.
- girvo 11y agoDefinitely! Though, unit-testing becomes interesting, as `rewire`, `proxyquire` and other ways of changing the dependencies inside your modules when they are `import`-ed breaks. However, it turns out having an AST of your Javascript code is really useful, and lets you do things like this: https://github.com/speedskater/babel-plugin-rewire https://github.com/speedskater/babel-plugin-rewire