loading...

re: JavaScript Promises Explained By Gambling At A Casino VIEW POST

FULL DISCUSSION
 

Thank you for not using new Promise(); Multiple times, just once and then (badum tss) just chaining .then() that's how promises should be used.

I've seen so many tutorials around using/abusing new Promise(); when .then() already returns promises.

Edit:
I think I was not clear, bright explanation I really liked the reading and your example! keep writing more stuff!

 

Haha I appreciate it Angel! Definitely clear.

code of conduct - report abuse