let's say I have an array of 30 strings.

I want to determine if the string contains let's say characters of "ea" and I will then alert the strings that contains ea.

I want to use indexOf how can I do that?

let's say if I have an array of 

var new = ["banana","apple","orange"];

I tried something like...

```
new_an = new.indexOf("an");
for (i=0; i < new.length;i++ )
{

if (new_an = -1)
{
    alert(new[i]);
}
}

```

so only banana and orange has an in it and I I only want to alert those two....but not sure what am I missing here...