firstIndexOf with forEach -completed