The async Executor Trap Playground

Mrs. Sari wraps her old callback stove in a promise for Mr. Tono: an async executor, a throw in the callback, a second call, a forgotten return. What does Mr…

Why it matters

The hardest bugs are the quiet ones: a spinner that keeps turning with no error in the console, or an error that shows up as Uncaught where nothing can catch it. Almost all of them come from an executor of the wrong shape.

The key idea

A promise settles only through its own resolve or reject, once

Common mistakes

Try it in this playground