Demo for hoisting in JavaScript