svaarala / duktape

Duktape - embeddable Javascript engine with a focus on portability and compact footprint
MIT License
5.97k stars 515 forks source link

Implement ES2015 extended function argument handling #1739

Open kphillisjr opened 7 years ago

kphillisjr commented 7 years ago

I noticed that there was no bug reports to specifically request adding these Features...

Note: The above examples are general ideas

svaarala commented 7 years ago

@kphillisjr Renamed the issue because ES2015 support is a longer term target so it's not a feature request as such. There isn't a full set of Github issues addressing all the ES2015 feature gaps because that would be a lot of individual issues.

svaarala commented 7 years ago

Related discussion of some implementation details in #1344.

zero-rp commented 5 years ago

Does this come true now?

zero-rp commented 5 years ago

@svaarala

svaarala commented 5 years ago

These are not implemented yet.

zero-rp commented 5 years ago

aggregation of remaining arguments into a single parameter.This feature is urgently needed.Can you support it as soon as possible?

svaarala commented 5 years ago

I can't promise a specific time, it all depends on how much free time I (or others) have to spend on development. In the meanwhile you can use transpiling, e.g. Babel, to get most of the post-ES5.1 features.