core-js
Version:
Standard library
10 lines (8 loc) • 308 B
JavaScript
var $ = require('../internals/export');
var demethodize = require('../internals/function-demethodize');
// `Function.prototype.demethodize` method
// https://github.com/js-choi/proposal-function-demethodize
$({ target: 'Function', proto: true, forced: true }, {
demethodize: demethodize
});
;