Pregunta de entrevista de UNext

2 coding questions related to asynchronous programming in js