🚧 under construction
JS ⟩ statement ⟩ control flow ⟩ jump ⟩ throw
JS ⟩ error ⟩ handling ⟩ throw
(statement)
exceptions are thrown
whenever a runtime error occurs
and whenever the program explicitly throws one using the throw statement.
exceptions are caught with try-catch-finally statement.
throw <expr>
error handling
try-catch-finally
JavaScript: The Definitive Guide ⟩ 5.5.6 throw
throwarrow-up-right
Last updated 3 years ago