You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,8 @@ try {
217
217
}
218
218
```
219
219
220
+
A detailed discussion about this topic is available at [GitHub Issue #54](https://github.com/arthurfiorette/proposal-try-statements/issues/54) for those interested.
221
+
220
222
### Never throws
221
223
222
224
The `try` operator ensures that no error escapes its scope:
@@ -250,6 +252,8 @@ This behavior mirrors how JavaScript differentiates blocks and object literals:
250
252
({ a:1 }) // object with a key `a` and a number `1`
251
253
```
252
254
255
+
A detailed discussion about this topic is available at [GitHub Issue #55](https://github.com/arthurfiorette/proposal-try-statements/issues/55) for those interested.
256
+
253
257
### Result Can Be Safely Ignored for Void Operations
254
258
255
259
In scenarios where the successful result of a operation is not needed, it can be safely ignored:
0 commit comments