Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
website(docs): Fix text formatting (#3828)
Browse files Browse the repository at this point in the history
  • Loading branch information
andywampir authored Nov 23, 2022
1 parent 17750a1 commit 75d32b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare_rule! {
/// Disallow control flow statements in finally blocks.
///
/// JavaScript suspends the control flow statements of `try` and `catch` blocks until
/// the execution of finally block finishes. So, when `return`, `throw, `break`, or `continue`
/// the execution of finally block finishes. So, when `return`, `throw`, `break` or `continue`
/// is used in finally, control flow statements inside `try` and `catch` are overwritten,
/// which is considered as unexpected behavior.
///
Expand Down
3 changes: 2 additions & 1 deletion website/src/pages/lint/rules/noUnsafeFinally.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ parent: lint/rules/index
Disallow control flow statements in finally blocks.

JavaScript suspends the control flow statements of `try` and `catch` blocks until
the execution of finally block finishes. So, when `return`, `throw, `break`, or `continue`is used in finally, control flow statements inside`try`and`catch` are overwritten,
the execution of finally block finishes. So, when `return`, `throw`, `break` or `continue`
is used in finally, control flow statements inside `try` and `catch` are overwritten,
which is considered as unexpected behavior.

## Examples
Expand Down

0 comments on commit 75d32b5

Please sign in to comment.