Asynchronous JavaScript in four chapters – promises, foundations, explained | Hacker News Reader