Domanda di colloquio di Staples

How do you implement the async in Javascript? Some Tricky Arrays questions.