Skip to content
Permalink
Browse files
doc: simplify and clarify ReferenceError material in errors.md
"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 16, 2020
1 parent af9e6f6 commit e33c09cb3ac9bd099037b413e0e6b21851e0bc6a
Showing with 1 addition and 2 deletions.
  1. +1 −2 doc/api/errors.md
@@ -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`

0 comments on commit e33c09c

Please sign in to comment.