11 lines
352 B
JavaScript
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
|
|
});
|