Pattern-Matching (ish) in JavaScript | Hacker News Reader