How Can I Short Array Elements by Their Property : <p>I want to short array elements by their property. As a output I don't want to take string value. I just want int values.</p>

<pre><code>Example:

var array = [1,2,3,4,5,'chicken'];

Output:

1,2,3,4,5
</code></pre>
