Add example of global variable within function body.

Two calls are used for showing when a variable set as global grasp the variable
outside the function, and then the other one, not set as global, is treated as
an undefined.