doc: simplify and clarify ReferenceError material in errors.md

"should always be considered" -> "indicate"

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Rich Trott authored and Anna Henningsen committed 2020-09-22 10:20:58 +02:00
1 parent e2fff1b1b0
commit f6dff0a57e
1 file changed
+1 -2
+1 -2
View File
@@ -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`