proposal: let in if parentheses

Ali Rahbari rahbari at gmail.com
Tue Aug 21 19:46:47 UTC 2018


that's the point, when this is correct:

let a, b;
(a = 1, b = 2) === 2;

why not this:

(let a = 1, b = 2) === 2;

and it can be used anywhere other than if parentheses and more important it
seems more natural instead of a new feature.

-- 
Ali Rahbari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180822/4609f3c0/attachment.html>


More information about the es-discuss mailing list