Skip to content

Commit

Permalink
doc: change error message to not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammedEssehemy committed Mar 22, 2019
1 parent 76387c1 commit 3adf94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ are handled using the [`try…catch` construct][try-catch] provided by the
JavaScript language.

```js
// Throws with a ReferenceError because z is undefined
// Throws with a ReferenceError because z is not defined.
try {
const m = 1;
const n = m + z;
Expand Down

0 comments on commit 3adf94b

Please sign in to comment.