define Array property indexOfObject to be non-enumerable.