Use for loop instead of for/in loop to protect sanctity of Array.prototype. Fixes #7817. Test case for this commit is shared with the fix for #6355, https://github.com/jquery/jquery/pull/140 .
Use for loop instead of for/in loop to protect sanctity of Array.prototype. Fixes #7817. Test case for this commit is shared with the fix for #6355, https://github.com/jquery/jquery/pull/140 .

gnarf/jquery,Karyotyper/jquery,roytoo/jquery,diracdeltas/jquery,praveen9102/Shazam,rwaldron/jquery,dtjm/jquery,praveen9102/Shazam,quiaro/request-agent,isaacs/jquery,eburgos/jquery,Karyotyper/jquery,fat/jquery,kpozin/jquery-nodom,jquery/jquery,roytoo/jquery,dtjm/jquery,diracdeltas/jquery,npmcomponent/component-jquery,roytoo/jquery,jcutrell/jquery,diracdeltas/jquery,isaacs/jquery,demetr84/Jquery,hoorayimhelping/jquery,RubyLouvre/jquery,chitranshi/jquery,sancao2/jquery,gnarf/jquery,sancao2/jquery,chitranshi/jquery,hoorayimhelping/jquery,sancao2/jquery,ilyakharlamov/jquery-xul,kpozin/jquery-nodom,RubyLouvre/jquery,Karyotyper/jquery,eburgos/jquery,scottjehl/jquery,jquery/jquery,jquery/jquery,demetr84/Jquery,rwaldron/jquery,fat/jquery,ilyakharlamov/jquery-xul,npmcomponent/component-jquery,jcutrell/jquery,scottjehl/jquery,eburgos/jquery