BonsaiDen/JavaScript-Garden — Issue #107: hasOwnProperty Adjustment
Author: phaygoweb
Created: 2011-11-07 17:07:53+00:00
State: open

It should be recommended to use

```javascript
Object.prototype.hasOwnProperty.call(object, propertyName);
```

It's mentioned that "hasOwnProperty" isn't a protected property name and can thus be written into any object and cause unexpected outcomes, but without an example, I'm not sure most would understand to add ".prototype" before ".hasOwnProperty"

Just a suggestion.