Now you can break, continue and return in try statements

This commit is contained in:
2025-05-17 19:29:10 -05:00
parent 4beb22cef4
commit 7fda533028

View File

@ -115,6 +115,8 @@ do(conditionLikeIf)
#### Try statement
NOTE: you can't return undefined (but you can return other types) (It will just return from try and will still execute the body past the try statement) due to the try statement being a closure (you can still break and continue due to special TObjects being returned)
```js
try {
Console.WriteLine("God is good.");