Opal-Estate-Pro/node_modules/component-inherit/Readme.md
2019-09-13 09:44:33 +07:00

25 lines
249 B
Markdown

# inherit
Prototype inheritance utility.
## Installation
```
$ component install component/inherit
```
## Example
```js
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
```
## License
MIT