local

Igor Bukanov igor at mir2.org
Thu Aug 21 00:38:50 PDT 2008


2008/8/20 Ingvar von Schoultz <ingvar-v-s at comhem.se>:
> The keyword "let" breaks the very valuable JavaScript tradition
> of using intuitively meaningful keywords.
>
> JavaScript uses the word to say "local", but its normal English
> meaning is "allow".

A let declaration does not imply locality since let at the top level
introduces precisely a global variable. Using local for that would be
very confusing.

Regards, Igor


More information about the Es-discuss mailing list