News for hackers. Stuff that matters.
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by pfg_ on Thursday May 25, 2023 @03:58PM (#36075369)
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
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by robertoandred on Thursday May 25, 2023 @05:03PM (#36076204)
Only if you're targeting super old browsers.