Hexaware Technologies interview question

Closure in JavaScript, hoisting in JavaScript