18 lines
341 B
JavaScript
18 lines
341 B
JavaScript
var Test = function (Foo) {
|
|
function Test() {
|
|
woops.super.test();
|
|
Foo.call(this);
|
|
Foo.prototype.test.call(this);
|
|
foob(Foo);
|
|
}
|
|
Test.prototype = Object.create(Foo.prototype, {
|
|
constructor: {
|
|
value: Test,
|
|
enumerable: false,
|
|
writable: true,
|
|
configurable: true
|
|
}
|
|
});
|
|
return Test;
|
|
}(Foo);
|