@yoshuawuyts well… they're not. You can write code without functions.
@jaffathecake but they will never swallow errors they were not meant to swallows, which is what promises do
-
-
@yoshuawuyts fetch(url).then(r => r.json()) - if this fails I get a console error, and a window level event. Same as errback. -
@jaffathecake but if I do an assertion in any of the code that follows its incorrectly caught. I treat throw as exceptions, not user errs - 1 more reply
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.