has-own

A safer .hasOwnProperty() - hasOwn(name, obj)

#has-own

Shorthand Object.prototype.hasOwnProperty.call(obj, name).

var assert = require('assert');
var hasOwn = require('has-own');
 
var o = Object.create(null);
o.name = 'has-own';
 
assert(hasOwn('name', o)); // true 

Why another module? Because I like it's readability.

LICENSE