From 1ad439ed1d6c4ee50183c8f5d146a771e6c1be4c Mon Sep 17 00:00:00 2001 From: Jeff Mosawy Date: Mon, 31 Jan 2022 23:48:52 +0100 Subject: [PATCH] docs: add missed verb in docs (#15550) --- docs/rules/no-ex-assign.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-ex-assign.md b/docs/rules/no-ex-assign.md index 17055994b4d..1c697162baf 100644 --- a/docs/rules/no-ex-assign.md +++ b/docs/rules/no-ex-assign.md @@ -2,7 +2,7 @@ Disallows reassigning exceptions in `catch` clauses. -If a `catch` clause in a `try` statement accidentally (or purposely) assigns another value to the exception parameter, it impossible to refer to the error from that point on. +If a `catch` clause in a `try` statement accidentally (or purposely) assigns another value to the exception parameter, it is impossible to refer to the error from that point on. Since there is no `arguments` object to offer alternative access to this data, assignment of the parameter is absolutely destructive. ## Rule Details