minus-squareblackn1ght@feddit.uklinkfedilinkarrow-up5·11 months agoBecause in JS: 1 == "1" // true 1 === "1" // false
Because in JS: