amis-rpc-design/node_modules/core-js/modules/esnext.function.un-this.js
2023-10-07 19:42:30 +08:00

11 lines
352 B
JavaScript

'use strict';
var $ = require('../internals/export');
var demethodize = require('../internals/function-demethodize');
// `Function.prototype.unThis` method
// https://github.com/js-choi/proposal-function-demethodize
// TODO: Remove from `core-js@4`
$({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, {
unThis: demethodize
});