make Array indexOfObject not enumerable.