I have normal function call in server file.
let Val = fileName.load();
In Another file:
const load = async function(){
getVal = await getall();
return getVal
}
But I'm getting the response like,
Promise{
[{Values: valexampl}]
}
Why my response is getting attached with Promise here. Kindly help me to understand