For a future version of ECMA, please allow "const val;" where "val" can be defined later.
-
-
-
Replying to @trevnorris
@trevnorris I think this is conceptually incorrect2 replies 0 retweets 0 likes -
Replying to @trevnorris
@trevnorris@indutny It'd be super handy to set value late, especially if value setting scope != definition scope.1 reply 0 retweets 0 likes -
Replying to @izs
@trevnorris@indutny read before set should throw, as should second set attempt1 reply 0 retweets 0 likes -
Replying to @izs
@izs@trevnorris but this means runtime checks vs static checks. I’m +1 for static ones.1 reply 0 retweets 0 likes -
Replying to @indutny
@indutny@trevnorris Yeah that's a good point, and also that's not how it works so ¯\_(ツ)_/¯1 reply 0 retweets 1 like -
Replying to @izs
@indutny@trevnorris you go to production with the javascript you have, not the javascript you wish you had.3 replies 0 retweets 2 likes
@izs @indutny @trevnorris : for context, we have discussed single-write guards. `const` is a minefield; vastly overconstrained expectations
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.