Propose adding support for
let function foo() {};
which would have the equivalence of:
let foo = function foo() {};
The idea is to support the normal scoping of let, but without forcing you
to repeat yourself when naming the function, whilst still having the
function's name property be set.
This would trivially extend to const and var. Also, possibly class.
Thanks
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss