mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
e2fff1b1b0
commit
f6dff0a57e
1 file changed
+1
-2
+1
-2
@@ -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`
|
||||
|
||||
|
||||
Reference in new issue
Block a user