404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.94.197: ~ $
'use strict';

var hasToStringTag = require('has-tostringtag/shams')();
var callBound = require('call-bind/callBound');

var $toString = callBound('Object.prototype.toString');

var isStandardArguments = function isArguments(value) {
	if (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {
		return false;
	}
	return $toString(value) === '[object Arguments]';
};

var isLegacyArguments = function isArguments(value) {
	if (isStandardArguments(value)) {
		return true;
	}
	return value !== null &&
		typeof value === 'object' &&
		typeof value.length === 'number' &&
		value.length >= 0 &&
		$toString(value) !== '[object Array]' &&
		$toString(value.callee) === '[object Function]';
};

var supportsStandardArguments = (function () {
	return isStandardArguments(arguments);
}());

isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests

module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;

Filemanager

Name Type Size Permission Actions
.github Folder 0755
test Folder 0755
.editorconfig File 286 B 0644
.eslintignore File 10 B 0644
.eslintrc File 141 B 0644
.nycrc File 139 B 0644
CHANGELOG.md File 19.76 KB 0644
LICENSE File 1.06 KB 0644
README.md File 1.78 KB 0644
index.js File 976 B 0644
package.json File 2.14 KB 0644