Luna 4f63b4f9a0 | ||
---|---|---|
.. | ||
test | ||
.npmignore | ||
History.md | ||
Makefile | ||
Readme.md | ||
component.json | ||
index.js | ||
package.json |
Readme.md
inherit
Prototype inheritance utility.
Installation
$ component install component/inherit
Example
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
License
MIT