JavaScript shift() vs. slice(1) | Hacker News Reader