Multiple ChoiceIntermediate 30s
Global error handler
Choose the best answer for: unhandled errors
Options
- 1Only try/catch around sync code, catching nothing async or global
- 2No global handlers, so unhandled rejections are swallowed silently
- 3process.on('uncaughtException') and window.onerror catch unhandled
- 4Ignore all errors and continue, reporting nothing to any log sink
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.