13 lines
231 B
JavaScript
13 lines
231 B
JavaScript
//// [MemberFunctionDeclaration1_es6.ts]
|
|
class C {
|
|
*foo() { }
|
|
}
|
|
|
|
//// [MemberFunctionDeclaration1_es6.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype.foo = function () {
|
|
};
|
|
return C;
|
|
})();
|