I've browsed the jquery source, but I am still unsure. Does jQuery.each check for hasOwnProperty or does it not?
if I loop over an object with for..in, I need to check. I allways thought I don't need to check when using jquery..
No, jQuery.each does not check hasOwnProperty as you can see at this issue: http://bugs.jquery.com/ticket/5499
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With