Array.prototype.indexOf not fully utilized in jQuery.inArray

Array.prototype.indexOf not fully utilized in jQuery.inArray

This occurs when using jQuery.fn.index, which utilizes jQuery.inArray.
Since the jQuery object does not have an indexOf method, it falls back
to the for loop approach, while Array.prototype.indexOf could have
been used.
--