Pregunta de entrevista de Comcast

Javascript coding round and more about promise concept.