Nagarro interview question

Javascript concepts, closures etc.