AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 18.222.225.252   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/allssztx/www/easybuyer/node_modules/es6-symbol/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/allssztx/www/easybuyer/node_modules/es6-symbol/test/polyfill.js
"use strict";

var d              = require("d")
  , isSymbol       = require("../is-symbol")
  , defineProperty = Object.defineProperty;

module.exports = function (t, a) {
	var symbol = t("test"), obj = {};
	defineProperty(obj, symbol, d("foo"));
	a(obj.test, undefined, "Name");
	a(obj[symbol], "foo", "Get");
	a(obj instanceof t, false);

	a(isSymbol(symbol), true, "Symbol");
	a(isSymbol(t.iterator), true, "iterator");
	a(isSymbol(t.toStringTag), true, "toStringTag");

	obj = {};
	obj[symbol] = "foo";
	if (typeof symbol !== "symbol") {
		a.deep(Object.getOwnPropertyDescriptor(obj, symbol), {
			configurable: true,
			enumerable: false,
			value: "foo",
			writable: true
		});
	}
	symbol = t.for("marko");
	a(isSymbol(symbol), true);
	a(t.for("marko"), symbol);
	a(t.keyFor(symbol), "marko");
};

Anon7 - 2022
AnonSec Team