Course contentsShow
JavaScript
Lesson 1270 of 2,72329. PromisesPro lesson

Synchronous Errors in the Executor

If the executor throws an error synchronously, the promise is automatically rejected with that error.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.