source: imaps-frontend/node_modules/core-js/internals/has-own-property.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 434 bytes
Line 
1'use strict';
2var uncurryThis = require('../internals/function-uncurry-this');
3var toObject = require('../internals/to-object');
4
5var hasOwnProperty = uncurryThis({}.hasOwnProperty);
6
7// `HasOwnProperty` abstract operation
8// https://tc39.es/ecma262/#sec-hasownproperty
9// eslint-disable-next-line es/no-object-hasown -- safe
10module.exports = Object.hasOwn || function hasOwn(it, key) {
11 return hasOwnProperty(toObject(it), key);
12};
Note: See TracBrowser for help on using the repository browser.