nodered_cfg/node_modules/core-js/internals/function-bind-native.js

10 lines
351 B
JavaScript
Raw Permalink Normal View History

2024-08-24 20:48:14 +02:00
'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');
});