Functional JavaScript: Traversing Trees with a Recursive Reduce | Hacker News Reader