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 BethGriggs committed Apr 17, 2019
1 parent 5790e49 commit 9541302
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
@@ -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;

0 comments on commit 9541302

Please sign in to comment.