title: What side effects does the keyword 'new' have in JavaScript?
body: <p>I'm working on a plug-in for jQuery and I'm getting this <a href="http://www.jslint.com/" rel="noreferrer">JSLint</a> error:</p>
  
  <pre><code>Problem at line 80 character 45: Do not use 'new' for side effects.
  
  (new jQuery.fasterTrim(this, options));
  </code></pre>
  
  <p>I haven't had much luck finding info on this JSLint error or on any side effects that <code>new</code> might have.</p>
  
  <p>I've tried <a href="http://www.google.com/search?q=%22Do+not+use+%27new%27+for+side+effects.%22" rel="noreferrer">Googling</a> for "Do not use 'new' for side effects." and got 0 results. <a href="http://www.bing.com/search?q=%22Do+not+use+%27new%27+for+side+effects.%22" rel="noreferrer">Binging</a> gives me 2 results but they both just reference the JSLint source. Hopefully this question will change that. :-)</p>
  
  <p><strong>Update #1:</strong>
  Here's more source for the context:</p>
  
  <pre><code>  jQuery.fn.fasterTrim = function(options) {
      return this.each(function() {
        (new jQuery.fasterTrim(this, options));
      });
    };
  </code></pre>
  
  <p><strong>Update #2:</strong>
  I used the <a href="http://starter.pixelgraphics.us/" rel="noreferrer">Starter jQuery plug-in generator</a> as a template for my plug-in, which has that code in it.</p>