ServiceNow Interview Question

How does JavaScript asynchronous processing work?