DEV Community

Discussion on: Why .then run first before the actual promise

Collapse
 
pentacular profile image
pentacular • Edited

Did you mean to write something like this?

test().then(() => console.log('finished'));

then wants an operation to run later.