• z3bra@lemmy.sdf.org
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    1 year ago

    I’ve recently started writing JS recently, after writing C, go, shell and ruby for years.

    Ended up with this gem in my code:

    var total = +qty + +pool[0] - +pool[1];
    

    I hate it.