• ddplf@szmer.info
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    4 days ago

    It’s the opposite, everything is passed by reference but primitives are also addresses and therefore passed by value

    You can’t pass objects or functions as value