Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pfg_
on May 25, 2023
|
parent
|
context
|
favorite
| on:
VanJS (Vanilla JavaScript): smallest reactive UI f...
Don't minifiers convert these anyway?
const a = 1; let b = 2; console.log(a, b);
bun build --minify a.js // bundles this to:
var o=1,l=2;console.log(o,l);
It's not even using const or let, it's flattened these multiple statements into one 'var' statement
robertoandred
on May 25, 2023
[–]
Only if you're targeting super old browsers.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: