Compatibilité de Librairies
const promise = ...;
promise.then(data => {
console.log(`Woohoo! Data is finally ready: ${data}`);
});interface Thenable {
then(callback): Thenable;
}Mis à jour
const promise = ...;
promise.then(data => {
console.log(`Woohoo! Data is finally ready: ${data}`);
});interface Thenable {
then(callback): Thenable;
}Mis à jour