Pergunta de entrevista da empresa Zendesk

How to make JS act asynchronously? 3 methods.