How JavaScript closures are garbage collected | Dark Hacker News