Why not allow let in ES6 seqs? If it feels any better, use braces.
e => (let x = 10, x + 1)
e => {let x = 10; x + 1;}
#fatArrowConsistency
@jordwalke @littlecalculist @BrendanEich : I wanted required curlies. Wrong guy to take up your cause ;-)
-
-
@slightlylate Required curlies don't justify implicit value return (= leak hazard), or say TCP applies to stmts.@jordwalke@littlecalculist -
@BrendanEich@slightlylate@littlecalculist So narrowing it down to the sequence operator. Is there a reason why we wouldn't allow lets? - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.