Académique Documents
Professionnel Documents
Culture Documents
The four functions you need to know The two functions you should know
promise
Extra Reading
.then(function() { ... })
Are JavaScript Promises swallowing your errors?
.catch(function(err) {
Promises at MDN
console.log(err.stack);
Promise browser support at Can I Use
});