• murtaza64@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    You don’t need the and right? Can’t it just be return a or b

    This doesn’t work if a is falsy non-null actually