JavaScript – Loop of console.log causes out of memory | Hacker News Reader