linx-simulator2/node_modules/component-inherit
2019-09-18 11:11:16 +03:00
..
test Simulator first commit 2019-09-18 11:11:16 +03:00
.npmignore Simulator first commit 2019-09-18 11:11:16 +03:00
component.json Simulator first commit 2019-09-18 11:11:16 +03:00
History.md Simulator first commit 2019-09-18 11:11:16 +03:00
index.js Simulator first commit 2019-09-18 11:11:16 +03:00
Makefile Simulator first commit 2019-09-18 11:11:16 +03:00
package.json Simulator first commit 2019-09-18 11:11:16 +03:00
Readme.md Simulator first commit 2019-09-18 11:11:16 +03:00

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

function Human() {}
function Woman() {}

inherit(Woman, Human);

License

MIT