title: show random image from array in javascript
body: <p>I want to select random images from imgArray to print 16 different images at the same time but can't fill the imgRandom function.</p>
  
  <pre><code>img = new imgArray(7);
  img[0]='1.png';
  img[1]='2.png';
  img[2]='3.png';
  img[3]='4.png';
  img[4]='5.png';
  img[5]='6.png';
  img[6]='7.png';
  img[7]='8.png';
  
  var rand=imgArray[math.floor(math.random*imgArray.length)];
  
  function imgRandom(){
  
  }
  </code></pre>