404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.117.146.157: ~ $
'use strict';

var getDay = Date.prototype.getDay;
var tryDateObject = function tryDateObject(value) {
	try {
		getDay.call(value);
		return true;
	} catch (e) {
		return false;
	}
};

var toStr = Object.prototype.toString;
var dateClass = '[object Date]';
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';

module.exports = function isDateObject(value) {
	if (typeof value !== 'object' || value === null) { return false; }
	return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
};

Filemanager

Name Type Size Permission Actions
.jscs.json File 2.81 KB 0644
.npmignore File 587 B 0644
.travis.yml File 1.12 KB 0644
CHANGELOG.md File 421 B 0644
LICENSE File 1.06 KB 0644
Makefile File 3.74 KB 0644
README.md File 1.71 KB 0644
index.js File 551 B 0644
package.json File 1.55 KB 0644
test.js File 1.17 KB 0644