async

node v10.24.1
version: 10.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