tjcrowder

Member since
tjcrowder

Recent Docs Activity

View all activity
Page Date Comment

Window.console


As far as I can tell, it's not read-only. See https://stackoverflow.com/questions/53666880/ and my answer there linking to relevant specs (which seem not to say either way) and tests in Chrome, Firefox, Safari, IE9, IE11, and Edge.

WindowOrWorkerGlobalScope.fetch()


Emphasize that the promise doesn't reject on HTTP errors (SO is filled with fetch code failing to check response.ok), update examples to show (also did PR to fetch-examples repo)

Array.prototype.map()


Call out an increasingly-common anti-pattern (seeing it more and more on SO, I think it's being mis-taught in some schools)

unhandledrejection


unhandledrejection


Per the current spec (and current implementation in Chrome v68), the event is cancelable and preventDefault prevents the default error in the console