in this particular example, why did the author use the if...hasOwnProperty in a for...in loop pattern?
for..in and hasOwnProperty
When do I need to use hasOwnProperty() How to find a particular pattern? When is `hasOwnProperty` not required? Not understand the result hasOwnProperty How to check property with hasOwnProperty? Why would any body use this pattern? How to match a pattern after particular string? hasOwnProperty Always Returning False in For In Loop Object.hasOwnProperty.call(object, key) in php javascript hasOwnProperty hasOwnProperty when to use, and when not needed? .hasOwnProperty... and value? does jquery.each check for hasOwnProperty? How to append url using javascript in particular pattern hasOwnProperty method in javascript output true? javascript hasOwnProperty returns true instead of false? 'hasOwnProperty' in javascript hasOwnProperty in javascript how do you use hasOwnProperty? hasOwnProperty() not working in Chrome for array HasOwnProperty Like Javascript Which pattern to use hasOwnProperty does not work Using hasOwnProperty() on an array Javascript what is property in hasOwnProperty? Why hasOwnProperty returns true Node.js Object object has no method 'hasOwnProperty' javascript hasOwnProperty and prototype Is there a need to use hasOwnProperty with Object.keys?