How to Resolve Promises Sequentially in JavaScript | Hacker News Reader