Opal-Estate-Pro/node_modules/component-inherit/Readme.md
2019-09-13 11:27:52 +07:00

249 B
Executable File

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

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

inherit(Woman, Human);

License

MIT