Update throw statement in JavaScript roadmap (#1659)

This commit is contained in:
Jozias Martini authored and GitHub committed 2022-09-02 00:58:18 +04:00
1 parent f5b226e353
commit 8395837339
1 file changed
+6 -1
@@ -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>