title: Open the same window multiple times using JavaScript
body: <p>I'm new to JavaScript and trying to learn. How can I open the same window multiple times using JavaScript? Also, it didn't work when I changed the function name.</p>
  
  <p>Here is the function:</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
  function window(URL) {
      day = new Date();
      id = day.getTime();
      eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=800,left = 650,top = 250');");
  }
  &lt;/script&gt;
  </code></pre>