JavaScript Professional — Hard
Key points
- Asynchronous catch handlers prevent unhandled rejections
- setTimeout delays the catch execution but does not affect handling
- The error message is accessed through 'e.message' in the catch block
Ready to go further?
Related questions
