eDreams ODIGEO interview question

advanced knowledge of JS, such as closure