2
Hello, I have the following array
[""Lucas", "pedro" ,"Joao"]
I need to submit a request with Xmlhttprequest for each name, then save the answer in json of the 3 in an object and call another function, the problem is that I do not know how to make the execution wait until the 3 var are filled, and only then call Function
I hear Promises can help me, someone has a solution?