let function

Garrett Smith dhtmlkitchen at gmail.com
Thu May 14 23:36:40 UTC 2015

On 5/14/15, Kevin Smith <zenparsing at gmail.com> wrote:
>> Good points. All the more reason to throw out declarations as statements
>> in favour of let/const/var, which we all have to understand well
>> anyway, for other types of variable.
> Declarations aren't going anywhere,

Getting rid of FunctionDeclaration was not proposed.

If the proposed `let function` idea is no good, is it because
FunctionDeclaration-as-a-Statement is a better replacement? Or is
there a better reason?

and there is zero interest in
> "deprecating" them.  You might want to spend a bit more time learning the
> spec or lurking before making proposals.

You go read the spec and lurk.

> Hope that helps.
It obviously doesn't help at all.

Consistency in implementations would help. An easier-to-read
ECMAScript specification would also help. Discussions like this can
help when they point out the reality of what implementations do vs
what the specification and its authors say vs what the so-called
experts, and worse (W3Schools, etc) say.

More information about the es-discuss mailing list