title: .trim js error in ie8, how can I fix it?
body: <pre><code>array[i].trim();
  </code></pre>
  
  <p>is giving an error but only in ie8</p>
  
  <p>it gives an error about 'unsupported method'.</p>
  
  <p>Maybe .trim was removed in IE 9 ?</p>