How to Unit Test Private Functions in JavaScript | Hacker News Reader