Pregunta de entrevista de Medallia

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

Respuesta de la entrevista

Anónimo

23 sep 2022

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