title: List array values
body: <p>I have an array like this</p>
  
  <pre><code>var cons=Array();
  cons[random_text]=random_number;
  cons[random_text]=random_number;
  ...
  </code></pre>
  
  <p>I want to list all values in cons variable.How can I do this in one loop ?</p>