Replace "in" with "hasOwnProperty" in reshape's for in
"in" checks if object has direct OR inherited property just like "for in" do. So using "in" in "for in" doesn't make sense. This PR replace "in" condition with "hasOwnProperty" that checks only if direct property exists.
Replace "in" with "hasOwnProperty" in reshape's for in
"in" checks if object has direct OR inherited property just like "for in" do. So using "in" in "for in" doesn't make sense. This PR replace "in" condition with "hasOwnProperty" that checks only if direct property exists.
I used Object's prototype hasOwnProperty method just in case because not all object have hasOwnProperty method