HaxeFoundation / HaxeFoundation/haxe
[js] generate arrow functions for ES6 mode
Open
enhancement
platform-javascript
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
to make the output closer to the "native" ES6 and make the a bit code more readable we can generate native JS arrow functions for our anonymous functions.
in addition we could look into using js arrow function `this`-binding semantics to avoid extra tempvaring, but that's a nice-to-have
bonus
Contributor guide
Assessment
This issue has not been assessed yet.