chore: add resource under javascript:javascript-control-flow:exception-handling:throw-statement

This commit is contained in:
roadmap bot committed 2023-06-11 02:08:21 +01:00
1 parent 45b729d708
commit 14060bda94
1 file changed
+3
@@ -3,3 +3,6 @@
The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack. If no catch block exists among caller functions, the program will terminate. (excerpt from MDN)
Visit the following resources to learn more:
- [throw statement - w3schools](https://www.w3schools.com/jsref/jsref_throw.asp)
- [JavaScript MDN Docs](https://developer.mozilla.org/en-us/docs/web/javascript/reference/statements/throw)