diff --git a/doc/api/errors.md b/doc/api/errors.md index d5ab7569f11a27..d303012c735646 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -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;