TIL `break` in a `for..of` loop consuming a generator will call `return()` and finalize the generator. #JavaScriptpic.twitter.com/AyDT40CiwX
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
the main use-case for generators (for the general public) is iterators. for/of is common :)
I think it's pretty rare that a general user needs to craft a custom iterator, though.
I think there will be people that do it because they can, now. Haha. But it's probably not often needed
even native for of is super slow atm though, which makes it difficult to use /1
for all the framework level code I see it pitched for that would become hot /2
even in app land it seems generators are often pitched for code that's perf sensitive. /3
in short, looks cool, won't use for a while, hope someday we have nice things ;) 5/5
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.