Skip to content

Commit 3adf94b

Browse files
doc: change error message to not defined
1 parent 76387c1 commit 3adf94b

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)