async

node v12.22.12
version: 12.0.0
endpointsharetweet
const p = Promise.resolve(); (async () => { await p; console.log('after:await'); })(); p.then(() => console.log('tick:a')) .then(() => console.log('tick:b'));
Loading…

no comments

    sign in to comment