Replies: 1 comment 1 reply
-
The JS runtime is already ES6 compatible, so not sure what you mean by "reward" ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The JavaScript runtime would benefit from moving toward ES6 and adding jsdoc annotations. To do this Map and Set in
Utils.js
would need to be made compatible with ES6 Map and Set. Then we would detect if Map and Set is available on the global object and use those instead. By adding jsdoc annotations, the TypeScript compiler can generate type declarations allowing better interop with TypeScript.Beta Was this translation helpful? Give feedback.
All reactions