mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-09-28 08:36:03 +00:00
7 lines
146 B
JavaScript
7 lines
146 B
JavaScript
|
|
module.exports = function(a, b){
|
|
var fn = function(){};
|
|
fn.prototype = b.prototype;
|
|
a.prototype = new fn;
|
|
a.prototype.constructor = a;
|
|
}; |