index.js 146 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 module.exports = function(a, b){ var fn = function(){}; fn.prototype = b.prototype; a.prototype = new fn; a.prototype.constructor = a; };