function-bind-native.js 339 B

12345678
  1. var fails = require('../internals/fails');
  2. module.exports = !fails(function () {
  3. // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
  4. var test = (function () { /* empty */ }).bind();
  5. // eslint-disable-next-line no-prototype-builtins -- safe
  6. return typeof test != 'function' || test.hasOwnProperty('prototype');
  7. });