inherit
Prototype inheritance utility.
Installation
$ component install component/inherit
Example
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
License
MIT
| 名称 | 最后更新 |
最后提交
82d1f77f
–
no message
历史
|
|---|---|---|
| .. | ||
| test | 正在载入提交数据... | |
| .npmignore | 正在载入提交数据... | |
| History.md | 正在载入提交数据... | |
| Makefile | 正在载入提交数据... | |
| Readme.md | 正在载入提交数据... | |
| component.json | 正在载入提交数据... | |
| index.js | 正在载入提交数据... | |
| package.json | 正在载入提交数据... |