Hacker News new | ask | show | jobs
by azazel75 3739 days ago
Python lists are supported:

* as literals;

* in for loops;

Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....

1 comments

>Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....

As a feature no, but Python code using that could be easily transpiled to a function taking a dict with the args...

It's implementable really and it is half-implemented, have a look at the call conventions... additional keyword arguments can be specified without any problem

The problem is that there's no kwargs equivalent in js land.. and probably i don't want to wrap any call to make it possible.