esnext.function.un-this.js 338 B

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