• bobo@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    Good point, but you can do if === true… and else if === false…

    But definitely better to throw an error instead of nan.