migrating `let' and `const'
wingo at igalia.com
Tue Nov 15 07:59:14 PST 2011
On Tue, 2011-11-15 at 07:41 -0800, Brendan Eich wrote:
> To quote Waldemar from
> "It's a judgment call, and I'd take these on a case-by-case basis.
> For const and let, I see little harm in browsers allowing them now in
> strict mode with the purely non-hoisting (C++-like) scoping rules,
> particularly if they complained when you accidentally declared a
> variable twice directly in the same block."
This makes sense. Thanks for the note.
Related wiki page:
More information about the es-discuss