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

Rest parameters #13

Open Aintaer opened 10 years ago

Aintaer commented 10 years ago

Using a macro for function in order to get at the rest param. This doesn't handle the case of using new Function() syntax yet. Not sure how to go about doing that.