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:
@@ -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)
|
Reference in New Issue
Block a user