Rubique interview question

hoisting in javascript