Pregunta de entrevista de Perforce Software

Basic javascript questions regarding closures, promises. Nodejs questions.