mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
If hasOwnProperty is overridden, then calling `obj.hasOwnProperty(prop)` can fail. Any time a dictionary of user-generated items is built, we cannot rely on hasOwnProperty being safe, so must call it from the Object.prototype explicitly.