Pergunta de entrevista da empresa Medallia

How do Promises work? How would you use this custom Promise we created to make a "fetch" call?

Resposta da entrevista

Sigiloso

23 de set. de 2022

myPromise.then((resolve, reject) => {}, catch((error) => {}, finally(() =>{});