package.internals.function-bind-native.js Maven / Gradle / Ivy
The newest version!
'use strict';
var fails = require('../internals/fails');
module.exports = !fails(function () {
// eslint-disable-next-line es/no-function-prototype-bind -- safe
var test = (function () { /* empty */ }).bind();
// eslint-disable-next-line no-prototype-builtins -- safe
return typeof test != 'function' || test.hasOwnProperty('prototype');
});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy