Nice example of hoisting and how local foo() function definition is 
pushed to the top of the scope, while the definition of bar() is not hoisted. 
Only its declaration.