Hacker News new | ask | show | jobs
by bediger4000 4425 days ago
Wouldn't some other feedback actually be better? If your JavaScript can calculate the Luhn checksum, and then give a checkmark or something, you've actually done better than just checking the card number's first few digits.