massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / has-own-property.js
1 var uncurryThis = require('../internals/function-uncurry-this');
2 var toObject = require('../internals/to-object');
3
4 var hasOwnProperty = uncurryThis({}.hasOwnProperty);
5
6 // `HasOwnProperty` abstract operation
7 // https://tc39.es/ecma262/#sec-hasownproperty
8 module.exports = Object.hasOwn || function hasOwn(it, key) {
9   return hasOwnProperty(toObject(it), key);
10 };