Update article.md

'allow to' -> 'allow us to'
optional comma
This commit is contained in:
paroche 2019-10-08 20:32:15 -06:00 committed by GitHub
parent a88e082ef9
commit 91b17f3bf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -668,4 +668,4 @@ We can also generate our own errors using the `throw` operator. Technically, the
*Rethrowing* is a very important pattern of error handling: a `catch` block usually expects and knows how to handle the particular error type, so it should rethrow errors it doesn't know.
Even if we don't have `try..catch`, most environments allow to setup a "global" error handler to catch errors that "fall out". In-browser that's `window.onerror`.
Even if we don't have `try..catch`, most environments allow us to setup a "global" error handler to catch errors that "fall out". In-browser, that's `window.onerror`.