How to strip off element which isNaN using jquery .map
<p>I am kind of confusing about the jquery.map function.</p>

<p>I have an array say <code>myArray = ["1", 3, "a", 5]</code>. </p>

<p>Can I use <code>$.map().get().join(',')</code> to get result of <code>[1, 3, 5]</code>;</p>

<pre><code>$(myArray).map(function() { 
    if (!isNaN(this)){  
        return this
    }       
}).get().join(',');
</code></pre>

<p>the above code return <code>["1","3","a","5"]</code></p>

<p><a href="http://jsfiddle.net/kkgian/khurZ/" rel="nofollow">http://jsfiddle.net/kkgian/khurZ/</a></p>

<p>TIA</p>
