• CommanderCloon@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    5 months ago

    Depends on the language though, sometimes 5 == "5" and 5 !== "5" (PHP & JS)

    My guess is that a .trim() is missing somewhere

    Edit: removed typo in example code