This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/component-inherit/Readme.md
2020-11-01 22:46:04 +00:00

249 B

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

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

inherit(Woman, Human);

License

MIT