Update throw statement in JavaScript roadmap (#1659)

pull/1660/head
Jozias Martini 2 years ago committed by GitHub
parent f5b226e353
commit 8395837339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      content/roadmaps/106-javascript/content/107-javascript-control-flow/100-exception-handling/100-throw-statement.md

@ -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…
Cancel
Save