title: How to append (concatenate) a variable to a constant in javascript
body: <p>I have created some arrays, example yy1, yy2, yy3, etc., and I am able to display the elements of an array using</p>
  
  <pre><code>for (j=0; j &lt; count; j++){
      alert(yy1[j]);
  }
  </code></pre>
  
  <p>and other arrays by changing number, that is yy2, yy3...  </p>
  
  <p>How to display the array in a loop, like  </p>
  
  <pre><code>for (i=0; i&lt; lengthL; i++){ 
      for (j=0; j &lt; count; j++){
          alert(yyi[j]);
      }
  }
  </code></pre>
  
  <p>That is how to join yy with i.  </p>
  
  <p>Please let me know if I am not clear, thanks in advance.</p>