Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.144.132.48
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
setprototypeof /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
index.js
690
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
'use strict' /* eslint-env mocha */ /* eslint no-proto: 0 */ var assert = require('assert') var setPrototypeOf = require('..') describe('setProtoOf(obj, proto)', function () { it('should merge objects', function () { var obj = { a: 1, b: 2 } var proto = { b: 3, c: 4 } var mergeObj = setPrototypeOf(obj, proto) if (Object.getPrototypeOf) { assert.strictEqual(Object.getPrototypeOf(obj), proto) } else if ({ __proto__: [] } instanceof Array) { assert.strictEqual(obj.__proto__, proto) } else { assert.strictEqual(obj.a, 1) assert.strictEqual(obj.b, 2) assert.strictEqual(obj.c, 4) } assert.strictEqual(mergeObj, obj) }) })