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
Iterators work excellently in languages like Rust, but don't come barging into JS and overriding things like Arrays - they are fine yknow
-
-
[...spread] works off of iterators.
-
thanks! - I won't be using it though, as spread introduces more bugs than it solves minus helping with the broken browser api
- 7 more replies
New conversation -
-
-
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
-
Seriously, all I want from my form is the values that I'm about to submit, is it too much to have that without inventing a new language tyvm
- 2 more replies
New conversation -
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.