DEV Community

loading...

Discussion on: Callbacks and Promises, Simply Explained

Collapse
risafj profile image
Risa Fujii

Great explanation! I think you may have forgotten to add world as the name argument in your example for promises.

myCallback('world').then(myNestedCallback).then(myNestedNestedCallback);

Collapse
taillogs profile image
Ryland G Author • Edited

You're awesome. Thanks and fixed! Glad you liked the post.