Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Works <[email protected]>
  • Loading branch information
nicolo-ribaudo and Jack-Works authored May 14, 2024
1 parent 668d594 commit d91f407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export let a = 1;
throw new Error("oops");
```
```js
// main2.ja
// main2.js
import("module-that-throws").finally(() => {
try { ns2.a } catch (e) { console.log('caught', e) } // Doesn't throw
});
Expand Down

0 comments on commit d91f407

Please sign in to comment.