title: Javascript using variable as array name
body: <p>I have several arrays in Javascripts, e.g.</p>
  
  <p>a_array[0] = "abc";<br>
  b_array[0] = "bcd";<br>
  c_array[0] = "cde";  </p>
  
  <p>I have a function which takes the array name.</p>
  
  <pre><code>function perform(array_name){
      array_name = eval(array_name);
      alert(array_name[0]);
  }
  perform("a_array");
  perform("b_array");
  perform("c_array");
  </code></pre>
  
  <p>Currently, I use eval() to do what I want.<br>
  Is there any method not to use eval() here?</p>