U: renamed method hasOwnProp -> hasProp