amis-rpc-design/node_modules/core-js/modules/es.function.bind.js

12 lines
391 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
'use strict';
// TODO: Remove from `core-js@4`
var $ = require('../internals/export');
var bind = require('../internals/function-bind');
// `Function.prototype.bind` method
// https://tc39.es/ecma262/#sec-function.prototype.bind
// eslint-disable-next-line es/no-function-prototype-bind -- detection
$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
bind: bind
});