replace: Use object[property] to check if property exists
replace: Use object[property] to check if property exists

hasOwnProperty() doesn't work for inherited properties

testdouble/testdouble.js,testdouble/testdouble.js,testdouble/testdouble.js