Javascript Closures

Have you ever been in a situation where you know a concept quite well…. that is, until you need to explain it to someone else. The process of learning through teaching can be a very powerful process. Javascript closures was one of those topics for me a few years ago. I was breezing through an interview one day when all of a sudden I was asked what a closure was. I provided the same vanilla answer I had always given, and then I was posed with a follow up question. “So tell me, if you were to pretend that I know nothing about Javascript, could you explain to me what a closure is?” The following was an answer I provided the following day.

Step 1: How can you create a closure?