4 ms·
It's Python with javascript ES6 semantic, there is no support for Python list, dict or support for Python magic parameters kwargs. Good work nonetheless.
by amirouche 11y ago
It's Python with javascript ES6 semantic, there is no support for Python list, dict or support for Python magic parameters kwargs. Good work nonetheless.
- azazel75 11y agoPython lists are supported: * as literals; * in for loops; Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....
- coldtea 11y ago>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...
- azazel75 11y agoIt'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.