JavaScript loops – how to handle async/await | Hacker News Reader