JavaScript Async no espera
// You Final Call Needs To Be
MyPromise().then(response => console.log(response));
// or
(async () => console.log(await getResult()))()
Undefined
// You Final Call Needs To Be
MyPromise().then(response => console.log(response));
// or
(async () => console.log(await getResult()))()