function hoisting like var

Michael Haufe TNO at
Sun Jul 27 22:26:23 PDT 2008

Instead of all this fluff about a better block, regardless of its syntax 
shape .....wouldn't it be better to deprecate "var" for "let" and adjust 
the scoping rules accordingly? I would think this would be an easier 
progression for the developer and easier to implement instead of 
throwing in redundant syntax that isn't  necessarily intuitive as is 
shown by the examples thus far. (especially for experienced developers 
with bad habits from other languages).

More information about the Es4-discuss mailing list