Get global variable dynamically by name string in JavaScript
04:54 17 Dec 2009

I want to get access to this variable from another script by name of variable. With window object its simple, is it possible with local variable?

I mean access this var by code like this:


javascript