Re: scope of variables
- Posted by DerekParnell (admin) Dec 30, 2010
- 2839 views
coconut said...
Why do you want to change a rule that is accepted in all languages: >>One can redeclare a variable inside a function and shadow an outer one.<<
BTW, how does one refer to the encompassing var that has been shadowed in other languages?