es6-transpiler icon indicating copy to clipboard operation
es6-transpiler copied to clipboard

Tomorrow's JavaScript syntax today

Results 38 es6-transpiler issues
Sort by recently updated
recently updated
newest added

``` function func1() { for (let x of {}) console.log(1); function func2(...args){ console.log(...args); } function func3() { [ for (x of []) x ]; } } func1(); ``` This code...

``` js var foo = {bar: 1}; for (let key in foo) { for (let key in foo) { } } ``` => ``` js var foo = {bar: 1};...

Double quotes are not preceded by backslash when literal notation of regular expressions is converted to constructor notation. ``` /"word"/y; //is converted to new RegExp(""word"", "y") ```

Hi @termi. Tried to use ES6 syntax for classes and found that the output is not desired in some cases. As far as I understood by default it expects that...

Here's an attempt at modules, based upon the jstransform version by andreypopp/es6-module-jstransform There's one caveat; the current parser accepts `export default ` whereas it should only accept `export default `

PostCSS slow down about 2 times, when I moved from 0.7.16 to 0.7.17 :(. /cc @termi

Currently the implementation of the iterator protocol doesn't accept an Arguments object. Testcase: ``` javascript function test() { console.log(...arguments); } test(1, 2, 3); // => should print "1 2 3"...

See https://github.com/mathiasbynens/regexpu. You can use this as a dependency for your transpiler.

"run-tests.js" requires "./run-tests-es6.js" which uses the `const` keyword, thus node needs the `--harmony` flag.