Javascript – Await when calling 2 function in node js not returning expected value
I have an exec function that calls 2 other functions and await both of them before resolving, but the getData return values and the convertToArray return undefined. When I call the convertToArray function then the getData function, then the convertToArray…