A promise in JavaScript represents the eventual result of an asynchronous operation. Learn how they work in this video.
Code:
🔗 https://codepen.io/beaucarnes/pen/Qdrvjp?editors=0012
More information:
🔗 https://davidwalsh.name/promises
🔗 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
Twitter: @jsnugget
JS Nuggets: Brisk JavaScript training and tips
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.