Wrapping contents of for in Object#hasOwnProperty
Remove global variable prop