Skip to content

Commit 7e072c8

Browse files
MohammedEssehemytargos
authored andcommitted
doc: change error message to 'not defined'
PR-URL: #26857 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
1 parent 41761cc commit 7e072c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/errors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ are handled using the [`try…catch` construct][try-catch] provided by the
3535
JavaScript language.
3636

3737
```js
38-
// Throws with a ReferenceError because z is undefined
38+
// Throws with a ReferenceError because z is not defined.
3939
try {
4040
const m = 1;
4141
const n = m + z;

0 commit comments

Comments
 (0)