title: "document.forms is not a function" with "document.forms(0)"
body: <p>I am maintaining many old websites and CMS systems at my new job and run into an issue with one. The ASP site is using JavaScript and this line stopped working today (or slightly earlier than today):</p>
  
  <pre><code>document.forms(0)
  </code></pre>
  
  <p>Console would report <code>Uncaught TypeError: document.forms is not a function</code>. After Googling, I found that I can replace it with:</p>
  
  <pre><code>document.forms[0]
  </code></pre>
  
  <p>and continue moving forward, however, this website and files are littered with this reference.</p>
  
  <p>Can anyone find explain what might have happen?  Chrome, IE and Firefox are not working, was there an update to browsers or JavaScript? I can't seem to find <code>document.forms(0)</code> in my searches.  Odd.</p>