1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-02 13:52:46 +02:00

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

This commit is contained in:
roadmap bot
2023-06-11 02:08:21 +01:00
parent 45b729d708
commit 14060bda94

View File

@@ -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)