How do you compose JavaScript functions with multiple parameters? | Hacker News Reader