Re:Fengari – Lua for the Browser
by zkldi on Sunday February 20, 2022 @02:45PM
(#30408656)
I don't personally think there's anything complicates about arrow functions. They're syntactic sugar for `function() {}`, with the exception that they have sensible binding of `this`.
I do agree that Lua is simpler, but I don't think this is an area where JS is that bad.
I do agree that Lua is simpler, but I don't think this is an area where JS is that bad.