Skip to content

Latest commit

 

History

History
executable file
·
24 lines (15 loc) · 249 Bytes

File metadata and controls

executable file
·
24 lines (15 loc) · 249 Bytes

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

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

inherit(Woman, Human);

License

MIT