Multiple ChoiceIntermediate 30s
Custom Errors
Choose the best answer for: extending Error
Options
- 1Custom error subclasses are never instanceof the built-in Error
- 2Custom error classes require the new keyword on every throw
- 3Custom error types must be raised by throwing a plain string
- 4class MyError extends Error creates custom error types
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.