showing how scoped variables doesn't work

showing how scoped variables doesn't work because the console is
outside the function. so we return