GE interview question

Javascript questions, about the weird functionality of javascript (like hoisting)