Take let variable out of temporal dead zone

Awal Garg awalgarg at gmail.com
Sat Apr 16 12:14:17 UTC 2016


Not possible. Previous discussion:
https://esdiscuss.org/topic/global-lexical-tier (the one Jason mentioned
above).

Key take-away from the above, which is admittedly sad:

> When it comes to aesthetics vs. implementability and usability, we have
to throw aesthetics under the bus. This is JavaScript, after all! :-P Ok,
seriously, we did not actually make anything prettier. The top level is
hopeless. All we did was leave a couple of hazards for implementors and
users in ES6.

:(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160416/15002937/attachment.html>


More information about the es-discuss mailing list