⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
mixly
/
View File Name :
extend.js
var chain = require('./chain.js') , inherit = require('./inherit.js') ; // Public API module.exports = mixExtend; /** * Extends target class with superclass, * assigns superclass prototype as prototype * of the target class and adds superclass itself * as `__proto__` of the target class, * allowing "static" methods inheritance. * * Note: *Destroys target's prototype* * * @param {function} target - Function (class) to update prototype on * @param {function} super_ - Superclass to be prototype donor * @returns {function} - augmented function (class) */ function mixExtend(target, super_) { return inherit(chain(target, super_), super_); }