title: Missing '()' invoking a constructor
body: <p>I have this code below to return the current year (<a href="http://jsfiddle.net/alexwcoleman/c7qGn/" rel="noreferrer">I also have it in jsFiddle</a>). jsFiddle keeps giving me an error: &quot;Missing '()' invokes a constructor&quot;, and I don't know what it means or how to get rid of it. The code still works, but I'd like to know what the heck is causing the error:</p>
  <p>HTML:
  </p>
  <p>jQuery:</p>
  <pre><code>var currentYear = (new Date).getFullYear();
  $(document).ready(function() {
      $(&quot;#year&quot;).text(currentYear);
  });
  </code></pre>
  <p>Thanks!</p>