Global vs Local variables with the same name

An illustration to show the behavior when a global variable has the same name as a local variable

Continue Reading Hardit Bhatia’s Article on their blog

Global vs Local variables with the same name

Helping resolve an issue for a colleague, I ran into a behavior which I had not encountered before. There was a global variable in the app but accessing that variable in one of the screen of the apps was resulting in a completely different value.

Blog Syndicated with Hardit Bhatia’s Permission

Author: harditbhatia

Share This Post On