2017-09-13 07:52:34 +02:00

7 lines
146 B
JavaScript
Vendored

module.exports = function(a, b){
var fn = function(){};
fn.prototype = b.prototype;
a.prototype = new fn;
a.prototype.constructor = a;
};