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 : 52.14.238.102
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
flatten /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.06
KB
-rw-r--r--
2016-01-20 00:44
README.md
460
B
-rw-r--r--
2016-01-20 00:43
index.js
515
B
-rw-r--r--
2016-01-20 00:54
package.json
1.38
KB
-rw-r--r--
2021-02-04 21:24
test.js
745
B
-rw-r--r--
2016-01-20 00:54
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); } }, []); } };