Pregunta de entrevista de Tatvasoft

explain closure in context of js ? what would you choose between Mern stack and java stack with their pros and cons ?