async

node v8.17.0
version: 8.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