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