Eastman Interview Question

1)Javascript promises 2)Javascript map function