No ifs…alternatives to statement branching in JavaScript | Hacker News Reader