Closed rzeydelis closed 1 year ago
The async keyword that is not support by ECMAScript6, it is ECMAScript7.
Remember that js2py does not implement the whole node builtin library/environment (not part of ECMA5) like: fs
so this will not work unless you define it yourself. In would suggest in this case to use node js.
I am trying to run JS2PY and am returning this error:
This is my JS code:
This is my python code:
Any idea what this unexpected token error is?