Understanding object and array destructuring in JavaScript | Hacker News Reader