Pergunta de entrevista da empresa CognitiveScale

Basic questions about async / await. How do you await the completion of an array of function calls returning Promises?