jlongster / es6-macros

A collection of sweet.js macros that implement ES6 features for ES5
BSD 2-Clause "Simplified" License
237 stars 18 forks source link

Support "list comprehension" #20

Open ghost opened 10 years ago

ghost commented 10 years ago

Awesome works!

Would be nice if can write a macro which supports list comprehension.

Thanks.

http://wiki.ecmascript.org/doku.php?id=harmony:array_comprehensions https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Array_comprehensions