Users of uglify-es, can you enlighten me what’s supposed to happen to `const`? `var` is obviously shorter so is there any reason it doesn’t compile down?
-
Show this thread
-
Replying to @dan_abramov
Code like this would break if const was replaced with var:pic.twitter.com/po2jEOOWex
3 replies 0 retweets 4 likes
Replying to @mattdesl @dan_abramov
It could replace it with `let` then if it never sees the variable reassigned.
12:33 PM - 13 Jan 2018
0 replies
0 retweets
2 likes
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.
he/him 