Skip to content

Commit f6dff0a

Browse files
Trottaddaleax
authored andcommitted
doc: simplify and clarify ReferenceError material in errors.md
"should always be considered" -> "indicate" PR-URL: #34151 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Andrey Pechkurov <[email protected]>
1 parent e2fff1b commit f6dff0a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api/errors.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,7 @@ doesNotExist;
391391
```
392392

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

397396
## Class: `SyntaxError`
398397

0 commit comments

Comments
 (0)