Ad
  • Custom User Avatar

    I think when you run this check:
    (n.substring(0,1) === "4" && n.length === 13 || n.length === 16)
    It should really be:
    (n.substring(0,1) === "4" && (n.length === 13 || n.length === 16))