Open
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