esnext.function.un-this.js 352 B

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