|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
434 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var uncurryThis = require('../internals/function-uncurry-this');
|
|---|
| 3 | var toObject = require('../internals/to-object');
|
|---|
| 4 |
|
|---|
| 5 | var 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
|
|---|
| 10 | module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|---|
| 11 | return hasOwnProperty(toObject(it), key);
|
|---|
| 12 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.