Rubique Interview Question

hoisting in javascript