Cognizant interview question

Hoisting in JavaScript