Encontrar valor de promesa con la sintaxis
Promise.resolve("XXXX").then(value=>
console.log(value));
/*NOT*/
console.log(Promise.resolve("XXXX").then(value=> value));
/*do your work inside of the then()*/
Javasper