Skip to content

Commit

Permalink
doc: change error message to 'not defined'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MohammedEssehemy authored and targos committed Mar 27, 2019
1 parent 41761cc commit 7e072c8
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 7e072c8

Please sign in to comment.