title: JavaScript: Check if an array element is a number
body: <p>I have an array of arbitrary elements and need to get only number elements.
  I tried <code>arr.filter((c) =&gt; !isNaN(parseInt(arr[c])));</code> but that didn't work. I still have a full array. What is wrong here and what else can I do?</p>