• CommanderCloon@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    9 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