Zendesk interview question

How to make JS act asynchronously? 3 methods.