Javascript – how to run a Promise in async function more than once?
I'm learning promise and async await, here I want to call addPost function and push an object twice and then I want to loop on that array of objects to see the results, but in this code the result is…