Pregunta de entrevista de Zendesk

How to make JS act asynchronously? 3 methods.