It uses Promises...which we designed, in part, for the `fetch()`...which we designed, in part, because we didn't want sync tasks within Service Workers.
I am not aware of a browser that supports arrows and promises but doesn't have `fetch()`.

-
-
Show this thread
-
*PERHAPS* the developer said to themselves "I don't want to include a full fetch polyfill" (although the same file pulls in rando core-js polyfill this-and-that) and leaned on Babel or whatevs to desugar arrows/promises?...on a site that loads more than 850KiB of (compressed) JS
Show this thread
End of conversation
New conversation -
-
-
When did semicolons become optional?
-
- 1 more reply
New conversation -
-
-
I like that it's called doFetch. Probably should have a comment saying "ha ha haa! nope!" at the top.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think the amount of time it takes for web pages to parse json is negligible
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Why every examples of ajax is xhr1,it's seem like javascript developpers Don't know that xhr2 exist
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.