Skip to content

[js] generate arrow functions for ES6 mode #10352

Open
@nadako

Description

@nadako

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions