title: How to display an image thats in an array? JavaScript
body: <p>This code is linked to an html page   </p>
  
  <pre><code>images = new Array();
  images[0] = new Image();
  images[0].src = "images/kate.jpg";
  images[1] = new Image();
  images[1].src = "images/mila.jpg";
  
  document.write(images[0]);
  </code></pre>
  
  <p>is that the proper set up for the array and if it is how do i actually get the image to display on my page because when i run this it only returns "[object HTMLImageElement]"</p>