Setup_bitable/monitor/setup/node_client/node_modules/component-inherit
2021-01-25 11:11:38 +07:00
..
test Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
.npmignore Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
component.json Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
History.md Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
index.js Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
Makefile Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
package.json Add pm2 bitable pro 2021-01-25 11:11:38 +07:00
Readme.md Add pm2 bitable pro 2021-01-25 11:11:38 +07:00

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

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

inherit(Woman, Human);

License

MIT