0
I am working on awaiting a function that returns a promise inside a loop but i was not able to resolve it. the loop is for (var i = 0; i < rows.length; i++) { console.log("row " + i); getData(i).then(function (data) { console.log("data of row "+ i +" is "+ data); ...