Why would anyone need JavaScript generator functions? | Hacker News