PHP 7.4.33
Preview: index.js Size: 643 B
/var/www/cvr-leads.bitkit.dk/httpdocs/node_modules/call-bind/index.js
'use strict';

var setFunctionLength = require('set-function-length');

var $defineProperty = require('es-define-property');

var callBindBasic = require('call-bind-apply-helpers');
var applyBind = require('call-bind-apply-helpers/applyBind');

module.exports = function callBind(originalFunction) {
	var func = callBindBasic(arguments);
	var adjustedLength = originalFunction.length - (arguments.length - 1);
	return setFunctionLength(
		func,
		1 + (adjustedLength > 0 ? adjustedLength : 0),
		true
	);
};

if ($defineProperty) {
	$defineProperty(module.exports, 'apply', { value: applyBind });
} else {
	module.exports.apply = applyBind;
}

Directory Contents

Dirs: 2 × Files: 9
Name Size Perms Modified Actions
.github DIR
- drwxr-xr-x 2025-03-11 10:08:45
Edit Download
test DIR
- drwxr-xr-x 2025-03-11 10:08:46
Edit Download
10 B lrw-r--r-- 2025-03-11 10:08:46
Edit Download
208 B lrw-r--r-- 2025-03-11 10:08:46
Edit Download
139 B lrw-r--r-- 2025-03-11 10:08:46
Edit Download
413 B lrw-r--r-- 2025-03-11 10:08:46
Edit Download
9.24 KB lrw-r--r-- 2025-03-11 10:08:46
Edit Download
643 B lrw-r--r-- 2025-03-11 10:08:46
Edit Download
1.05 KB lrw-r--r-- 2025-03-11 10:08:45
Edit Download
2.24 KB lrw-r--r-- 2025-03-11 10:08:46
Edit Download
1.98 KB lrw-r--r-- 2025-03-11 10:08:46
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).