diff --git a/content/roadmaps/106-javascript/content/107-javascript-control-flow/100-exception-handling/100-throw-statement.md b/content/roadmaps/106-javascript/content/107-javascript-control-flow/100-exception-handling/100-throw-statement.md index 0314ab31b..8ea8ceeb1 100644 --- a/content/roadmaps/106-javascript/content/107-javascript-control-flow/100-exception-handling/100-throw-statement.md +++ b/content/roadmaps/106-javascript/content/107-javascript-control-flow/100-exception-handling/100-throw-statement.md @@ -1 +1,6 @@ -# Throw statement \ No newline at end of file +# 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) + +Throw Statement \ No newline at end of file