Update article.md

rephrasing
This commit is contained in:
paroche 2019-10-09 20:38:00 -06:00 committed by GitHub
parent a88e082ef9
commit f66d4211aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ Our function `readUser(json)` will not only read JSON, but check ("validate") th
Our `ValidationError` class should inherit from the built-in `Error` class. Our `ValidationError` class should inherit from the built-in `Error` class.
That class is built-in, here's it approximate code, for us to understand what we're extending: That class is built-in, but here's its approximate code so we can understand what we're extending:
```js ```js
// The "pseudocode" for the built-in Error class defined by JavaScript itself // The "pseudocode" for the built-in Error class defined by JavaScript itself