$.each(["foo","bar"],function(){console.debug(this);});
will convert "foo" and "bar" of string type to their equivalent in string object.
whereas...
$.each(["foo","bar"],function(i,e){console.debug(e);});
will keep "foo" and "bar" in their original string type.
I wonder why does $.each do the conversion? And, more to the point... should this conversion never happen - leave strings as they are, whether they are of string type, or of string object?