What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-16 13:22:15
js promiseStatus
/** * This function allow you to modify a JS Promise by adding some status properties. * Based on: http://stackoverflow.com/questions/21485545/is-there-a-way-to-tell-if-an-es6-promise-is-fulfilled-rejected-resolved * But modified according to the specs... Add solution