Opal-Estate-Pro/node_modules/component-inherit/Readme.md

25 lines
249 B
Markdown
Raw Normal View History

2019-09-13 06:27:52 +02:00
# inherit
Prototype inheritance utility.
## Installation
```
$ component install component/inherit
```
## Example
```js
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
```
## License
MIT