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