Files

7 lines
146 B
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
module.exports = function(a, b){
var fn = function(){};
fn.prototype = b.prototype;
a.prototype = new fn;
a.prototype.constructor = a;
};