• masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Lol.

    Pushing something onto an array isn’t changing the array? It’s not changing the reference to the array, but from a style standpoint it doesn’t make sense.

    So you’re arguing for writing things as they seem, not the way that computers treat them?

    You’re comment indicates the FE dev obsession with always using const stems from a misunderstanding of how computers work.

    Maybe rethink this.