How is it possible to reference to a variable outside of a code block when it is declared inside a block?
Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?