jquery/jquery — pull request #1029 by jiahut (2012-11-14 11:56:06+00:00)
Title: $.each(object,function(){}) will be wrong when a object has the length attribute.

###### When a object has the length attribute ,the $.each(object,function(){}) will be wrong.

----------------------------------
**eg:**
```js
var obj = {length: 1000}
$.each(obj,function(idx,val){ console.log(idx,val)})
```
----------------------------------
###### In the example above,it will print **1000** times , but in fact I hope print the all attributes of the obj.