Skip to content

Commit

Permalink
docs: add missed verb in docs (#15550)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmosawy authored Jan 31, 2022
1 parent 59b5ab2 commit 1ad439e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-ex-assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ad439e

Please sign in to comment.