Skip to content

Commit

Permalink
doc: simplify and clarify ReferenceError material in errors.md
Browse files Browse the repository at this point in the history
"should always be considered" -> "indicate"

PR-URL: #34151
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Jul 14, 2020
1 parent 726771a commit 042d2a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ doesNotExist;
```

Unless an application is dynamically generating and running code,
`ReferenceError` instances should always be considered a bug in the code
or its dependencies.
`ReferenceError` instances indicate a bug in the code or its dependencies.

## Class: `SyntaxError`

Expand Down

0 comments on commit 042d2a5

Please sign in to comment.