I read that async functions marked by the async keyword implicitly return a promise:
async
async function getVal(){ return await doSomethingAync(); }
Just add await before your function when you call it :
var ret = await getVal(); console.log(ret);