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 : 18.217.230.80
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 /
flatten /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.06
KB
-rw-rw-r--
2022-08-30 11:49
README.md
460
B
-rw-rw-r--
2022-08-30 11:49
index.js
515
B
-rw-rw-r--
2022-08-30 11:49
package.json
878
B
-rw-rw-r--
2022-08-30 11:49
test.js
745
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
var flatten = require('./index'), util = require('util'), assert = require('assert'); [ [ [1, [ 2, 3]], [1, [2, 3]], 0], [ [1, 2, 3 ], [1, 2, 3] ], [ ['a', ['b', ['c']]], ['a', 'b', 'c'] ], [ [2, [4, 6], 8, [[10]]], [2, 4, 6, 8, 10] ], [ [1, [2, [3, [4, [5]]]]], [1, 2, 3, [4, [5]]], 2 ] // depth of 2 ].forEach(function (t) { assert.deepEqual(flatten(t[0], t[2]), t[1], util.format('☠☠☠☠☠☠☠☠☠ %s ☠☠☠☠☠☠☠☠☠', formatCall(t)) ); console.log('✓ %s', formatCall(t)); }); function formatCall(t) { if (typeof t[2] === 'undefined') { return util.format('`flatten(%j) == %j`', t[0], t[1]); } else { return util.format('`flatten(%j, %j) == %j`', t[0], t[2], t[1]); } }