Legacy const

Geoffrey Sneddon gsneddon at opera.com
Wed Apr 18 09:54:06 PDT 2012


const is needed in non-strict/strict code, as well as in Harmony code, 
has historically been needed for web compatibility on non-IE code. 
Chakra interestingly doesn't support it. (May simply be a case of it 
being IE and not fed code that realizes upon it.)

Either we should spec it, likely block-scoped in modules as it is now 
and function-scoped otherwise, or everyone should drop it. (I doubt 
that's feasible, though.)

-- 
Geoffrey Sneddon — Opera Software
<http://gsnedders.com>
<http://opera.com>


More information about the es-discuss mailing list