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.15.28.86
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
module.exports = function flatten(list, depth) { depth = (typeof depth == 'number') ? depth : Infinity; if (!depth) { if (Array.isArray(list)) { return list.map(function(i) { return i; }); } return list; } return _flatten(list, 1); function _flatten(list, d) { return list.reduce(function (acc, item) { if (Array.isArray(item) && d < depth) { return acc.concat(_flatten(item, d + 1)); } else { return acc.concat(item); } }, []); } };