Pegasystems interview question

explain closure in JavaScript