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-uncurry-this-clause.js 359B

12345678910
  1. 'use strict';
  2. var classofRaw = require('../internals/classof-raw');
  3. var uncurryThis = require('../internals/function-uncurry-this');
  4. module.exports = function (fn) {
  5. // Nashorn bug:
  6. // https://github.com/zloirock/core-js/issues/1128
  7. // https://github.com/zloirock/core-js/issues/1130
  8. if (classofRaw(fn) === 'Function') return uncurryThis(fn);
  9. };