{"comment":{"url":"https://api.github.com/repos/SergioCrisostomo/mootools-core/comments/9559991","html_url":"https://github.com/SergioCrisostomo/mootools-core/commit/21046d6c7f2e9e7e7546ff22ac8b200ba6baaa95#commitcomment-9559991","id":9559991,"user":{"login":"arian","id":109243,"avatar_url":"https://avatars.githubusercontent.com/u/109243?v=3","gravatar_id":"","url":"https://api.github.com/users/arian","html_url":"https://github.com/arian","followers_url":"https://api.github.com/users/arian/followers","following_url":"https://api.github.com/users/arian/following{/other_user}","gists_url":"https://api.github.com/users/arian/gists{/gist_id}","starred_url":"https://api.github.com/users/arian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arian/subscriptions","organizations_url":"https://api.github.com/users/arian/orgs","repos_url":"https://api.github.com/users/arian/repos","events_url":"https://api.github.com/users/arian/events{/privacy}","received_events_url":"https://api.github.com/users/arian/received_events","type":"User","site_admin":false},"position":11,"line":70,"path":"Source/Core/Core.js","commit_id":"21046d6c7f2e9e7e7546ff22ac8b200ba6baaa95","created_at":"2015-02-03T11:10:26Z","updated_at":"2015-02-03T11:10:26Z","body":"I think instead of `object.hasOwnProperty` we could use:\r\n```js\r\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\r\nif (hasOwnProperty.call(object, k)) fn.call(...);\r\n```\r\n\r\nThen `Object.keys({hasOwnProperty: 1})` will return `['hasOwnProperty']`."}}