How to use forEach() to iterate an array in JavaScript | Hacker News Reader