Ugh, TIL JS now has a cute lil abstractions called Iterator. What is it? You can only access it using ES6 for...of - dammit language peeps
-
-
Replying to @yoshuawuyts
Iterators work excellently in languages like Rust, but don't come barging into JS and overriding things like Arrays - they are fine yknow
2 replies 0 retweets 0 likes -
Replying to @yoshuawuyts
I can't access the data I get through new FormData(), unless using non-std `.entries()`, which can only be accessed using for...of - fuck no
3 replies 0 retweets 0 likes -
Replying to @yoshuawuyts
you can call next() to pull the next item from iterator
1 reply 0 retweets 1 like
Replying to @andreypopp
oh yeah, that's right! Thanks Andrey :D
8:54 AM - 27 May 2016
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.