YOU CAN"T DO ASYNC IN AN ARRAY.MAP() FUNCTION?!I've wasted so many hours trying to debug this array of promises that never resolve…