Hoisting behaviour of 'const' and 'let'
mike.shaver at gmail.com
Sun Oct 12 08:52:12 PDT 2008
On Sun, Oct 12, 2008 at 9:29 AM, David-Sarah Hopwood
<david.hopwood at industrial-designers.co.uk> wrote:
> - the hoisting behaviour of 'const' should be the same as 'let',
> * it doesn't need to hoist for backward compatibility, unlike 'var';
Not for compatibility with the standard, but const as implemented in
at least 2/4 (not sure about JSCore) hoists, I believe.
More information about the Es-discuss