One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
6955
/
root
/
usr
/
share
/
nodejs
/
function-loop
/
Edit File:
index.js
module.exports = loop // this weird little engine is to loop if the cb's keep getting // called synchronously, since that's faster and makes shallower // stack traces, but recurse if any of them don't fire this tick function loop (self, arr, cb, onerr, i) { if (!i) i = 0 var running = false while (i < arr.length && !running) { running = true var sync = true try { var ret = arr[i].call(self, next) } catch (er) { return onerr.call(self,er) } if (ret && typeof ret.then === 'function') ret.then(next.bind(self, null), onerr.bind(self)) i++ sync = false } function next (er) { if (er) return onerr.call(self, er) else if (!sync) return loop(self, arr, cb, onerr, i) running = false } if (i >= arr.length && !running) return cb.call(self) }
Simpan