3 ms·
Good comments, too! // Wow. I had no idea JavaScript keyCodes differ from ASCII. // They ignore case (both 'A' and 'a' will return 65) // but differen
by coolgeek 5y ago
Good comments, too!
// Wow. I had no idea JavaScript keyCodes differ from ASCII.
// They ignore case (both 'A' and 'a' will return 65)
// but differentiate between regular number and numeric keypad!