f(x) interface

It would require engines to not know if it’s an object literal until they hit the return statement - something not all functions even have.

I’m not sure why adding this syntax complexity is complex than function f(x) { or const f = (x) => {

1 Like