function-bind-native.js 337 B

12345678
  1. var fails = require('../internals/fails');
  2. module.exports = !fails(function () {
  3. // eslint-disable-next-line es/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. });