throw
Term side of the Card
Topic: Syntax
Unit title: throw
Categories: Syntax, Keyword
Explanation side of the Card
Explanation: The keyword used to throw an exception or error manually. It allows for creating custom error conditions and transferring control to error-handling code.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1
- The safari browser supports this feature starting from version 1
Availability: