Skip to content

Commit

Permalink
Docs: Fix typo for no-unsafe-finally (#10945)
Browse files Browse the repository at this point in the history
  • Loading branch information
taueres authored and not-an-aardvark committed Oct 9, 2018
1 parent 5fe0e1a commit 95c4cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-unsafe-finally.md
Expand Up @@ -49,7 +49,7 @@ JavaScript suspends the control flow statements of `try` and `catch` blocks unti
// We expect this function to return 0 from try block.
(() => {
label: try {
return 0; // 1 is returned but suspended until finally block ends
return 0; // 0 is returned but suspended until finally block ends
} finally {
break label; // It breaks out the try-finally block, before 0 is returned.
}
Expand Down

0 comments on commit 95c4cb1

Please sign in to comment.