uni-ticket-system/node_modules/core-js/internals/function-uncurry-this-clause.js

10 lines
345 B
JavaScript
Raw Normal View History

2023-12-05 02:11:10 +00:00
var classofRaw = require('../internals/classof-raw');
var uncurryThis = require('../internals/function-uncurry-this');
module.exports = function (fn) {
// Nashorn bug:
// https://github.com/zloirock/core-js/issues/1128
// https://github.com/zloirock/core-js/issues/1130
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
};