javascript parseInt when value = 0
<p>I'm using jquery.grep to clean a string and return only digits.</p>

<p>This is what I have:</p>

<pre><code>var TheInputArray = TheInput.slice();
var TheCleanInput = jQuery.grep(TheInputArray, function (a) {
  return parseInt(a, 10);
});
</code></pre>

<p>I take a string, split it into an array and use the parseInt function to check if it's a number. The problem is that when the value of a is 0, it skips that element. What changes do I need to do to  make this code work?</p>

<p>Thanks.</p>
