J.P. Morgan Interview Question

difference between async function and settimeout