$.each( { name: "John", **length1: 0** }, function(i, n){ alert( "Name: " + i + ", Value: " + n ); }); this code works fine. $.each( { name: "John", **length: 0** }, function(i, n){ alert( "Name: " + i + ", Value: " + n ); }); this one doesn't work. I found 1.11.2 and 3.2.0 have such issue. Probably other versions have too. Chrome 57.0.2987.98