Info Edge interview question

How do you implement Javascript closure?