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.

function-bind-native.js 351B

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