What is the precedence order between local and global variables

Posted by Jessica Taylor | Updated on

What is the precedence order between local and global variables

A local variable takes precedence over a global variable with the same name. Let’s see this behavior in an example.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers