Update throw statement in JavaScript roadmap (#1659)
parent
f5b226e353
commit
8395837339
1 changed files with 6 additions and 1 deletions
@ -1 +1,6 @@ |
||||
# Throw statement |
||||
# Throw Statement |
||||
|
||||
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) |
||||
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href=' |
||||
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/throw'>Throw Statement</BadgeLink> |
Loading…
Reference in new issue