Current Path: > > lib > node_modules > npm > node_modules > > inherits
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
LICENSE | File | 749 bytes | March 10 2021 14:36:36. | |
README.md | File | 1625 bytes | March 10 2021 14:36:36. | |
inherits.js | File | 250 bytes | March 10 2021 14:36:36. | |
inherits_browser.js | File | 753 bytes | March 10 2021 14:36:36. | |
package.json | File | 2251 bytes | March 10 2021 14:36:36. |
if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, writable: true, configurable: true } }) } }; } else { // old school shim for old browsers module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor var TempCtor = function () {} TempCtor.prototype = superCtor.prototype ctor.prototype = new TempCtor() ctor.prototype.constructor = ctor } } }
SILENT KILLER Tool