Javascript – Implicit Promises from async functions don't resolve as I expect
I know that all functions marked with async return a Promise object, even if it's not returned explicitly. So I made the following experiment: async function getPromise() { setTimeout(() => { return "value"; }, 2000); } async function implicitPromiseTest() {…