JavaScript: When you need two ways to do it | Dark Hacker News