Aryan interview question

Explain js execution? Sync asynchronous