21 lines
332 B
JavaScript
21 lines
332 B
JavaScript
//// [staticPrototypeProperty.ts]
|
|
class C {
|
|
static prototype() { }
|
|
}
|
|
|
|
class C2 {
|
|
static prototype;
|
|
}
|
|
|
|
//// [staticPrototypeProperty.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype = function () { };
|
|
return C;
|
|
})();
|
|
var C2 = (function () {
|
|
function C2() {
|
|
}
|
|
return C2;
|
|
})();
|