Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/hasown/index.js

9 lines
234 B
JavaScript
Raw Normal View History

2024-01-10 22:39:31 +04:00
'use strict';
var call = Function.prototype.call;
var $hasOwn = Object.prototype.hasOwnProperty;
var bind = require('function-bind');
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
module.exports = bind.call(call, $hasOwn);