From e33c09cb3ac9bd099037b413e0e6b21851e0bc6a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 30 Jun 2020 21:44:32 -0700 Subject: [PATCH] doc: simplify and clarify ReferenceError material in errors.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "should always be considered" -> "indicate" PR-URL: https://github.com/nodejs/node/pull/34151 Reviewed-By: Luigi Pinca Reviewed-By: Anto Aravinth Reviewed-By: Christian Clauss Reviewed-By: Gerhard Stöbich Reviewed-By: Chengzhong Wu Reviewed-By: Andrey Pechkurov --- doc/api/errors.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index d59c4029e60e5e..e768c98578e053 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -391,8 +391,7 @@ doesNotExist; ``` Unless an application is dynamically generating and running code, -`ReferenceError` instances should always be considered a bug in the code -or its dependencies. +`ReferenceError` instances indicate a bug in the code or its dependencies. ## Class: `SyntaxError`