An implementation of JavaScript ES6 Promises.
Currently Implemented:
new Promise(function(resolve, reject) {...})
(Promise Instance).then(function(data) {...})
(Promise Instance).catch(function(err) {...})
Promise.resolve(value)
Promise.reject(error)
If you don’t know how to use ES6 promises, I’d highly recommend this article.
Project Link: App Lab - Code.org
Library ID: SjyTguQWgr7MFlmfnh88FbsOLp9FcNSXMxvhR822C0Q