$.inArray

$.inArray

should the inArray function change to be consistent with different browsers?

for example shouldn't we change

  1. return array.indexOf( elem );
to something similar to
  1. var ret = array.indexOf( elem );
  2. return (ret==undefined)?-1:ret;
or even add a check if ret isNAN ?