<script> //in one script var someVarName_10 = 20; </script>
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:
<script> alert(all_vars['someVar' + 'Name' + num]); </script>