From 7fda5330281180bb5d4cbc403db9b58bf8f96ff3 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Sat, 17 May 2025 19:29:10 -0500 Subject: [PATCH] Now you can break, continue and return in try statements --- docs/HANDBOOK.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/HANDBOOK.md b/docs/HANDBOOK.md index 960c3d7..e68fc92 100644 --- a/docs/HANDBOOK.md +++ b/docs/HANDBOOK.md @@ -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.");