UNPKG

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