Multiple ChoiceIntermediate 30s
window.onerror
Choose the best answer for: global error handler
Options
- 1window.onerror works only for asynchronous unhandled rejections
- 2window.onerror prevents all errors from ever being thrown
- 3window.onerror only catches syntax errors during script parse
- 4window.onerror catches unhandled exceptions globally
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.