UNPKG

objection

Version:
14 lines (10 loc) 301 B
'use strict'; function inherit(Constructor, BaseConstructor) { Constructor.prototype = Object.create(BaseConstructor.prototype); Constructor.prototype.constructor = BaseConstructor; Object.setPrototypeOf(Constructor, BaseConstructor); return Constructor; } module.exports = { inherit, };