Qualtrics interview question

Basic JavaScript question with closures