source: node_modules/core-js-pure/full/instance/demethodize.js@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 385 bytes
Line 
1'use strict';
2var isPrototypeOf = require('../../internals/object-is-prototype-of');
3var method = require('../function/virtual/demethodize');
4
5var FunctionPrototype = Function.prototype;
6
7module.exports = function (it) {
8 var own = it.demethodize;
9 return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.demethodize) ? method : own;
10};
Note: See TracBrowser for help on using the repository browser.