12 lines
220 B
TypeScript
12 lines
220 B
TypeScript
//// [MemberFunctionDeclaration4_es6.ts]
|
|
class C {
|
|
*() { }
|
|
}
|
|
|
|
//// [MemberFunctionDeclaration4_es6.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype. = function () { };
|
|
return C;
|
|
})();
|