Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.function.bind.js 391B

1234567891011
  1. 'use strict';
  2. // TODO: Remove from `core-js@4`
  3. var $ = require('../internals/export');
  4. var bind = require('../internals/function-bind');
  5. // `Function.prototype.bind` method
  6. // https://tc39.es/ecma262/#sec-function.prototype.bind
  7. // eslint-disable-next-line es/no-function-prototype-bind -- detection
  8. $({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
  9. bind: bind
  10. });