← All questions
MediumJavaScript

Why does Promise.then() run before setTimeout(..., 0)?

Why does Promise.then() run before setTimeout(..., 0)?