JavaScript function to check if a letter is uppercase | Hacker News Reader