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

website(docs): Fix text formatting #3828

Merged
merged 2 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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