(1)

I have here an array that is a mix of strings and ints:

```
var newArr = [ 22, 7, "2761", 16, "91981", "37728", "13909", "247214", "8804", 6, 2 ]

```

My ultimate goal is to remove the values that are ints, and add the other values.

One way I tried to achieve this was to first convert all to ints:

```
  for (element in newArr) {
    newArr[element] = parseInt(newArr[element], 10);
  }

```

Is this the best way to do that?
It seems to output an array of ints like this:

```
var newArr = [ 22, 7, 2761, 16, 91981, 37728, 13909, 247214, 8804, 6, 2 ];

```

(2)

Then I would like to only sum elements in newArr that are above the value of 30.
This is my code:

```
var newArr = [ 22, 7, 2761, 16, 91981, 37728, 13909, 247214, 8804, 6, 2 ];

  for (element in newArr) {
    if (newArr[element] > 30) {
      sum += newArr[element];
    }
  }

```

It doesn't seem to be working. Please help.

(3)
A final question is:

How could I just eliminate the ints from newArr in step (1), as this would negate the need for the other code, I guess.

A simple solution using only javascript syntax (no jquery) would be appreciated.
(unless the overwhelming consensus is that jquery would be a better option)
Thanks Javascript Ninjas!