diff --git a/object.js b/object.js index 7861e42..3ff07f1 100644 --- a/object.js +++ b/object.js @@ -259,7 +259,7 @@ define(function (require) { // for better compression function hasProp (object, name) { - return object.hasOwnProperty(name); + return refProto.hasOwnProperty.call(object, name); } function _keys (object) {