15 lines
202 B
JavaScript
15 lines
202 B
JavaScript
|
//// [YieldExpression12_es6.ts]
|
||
|
class C {
|
||
|
constructor() {
|
||
|
yield foo
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression12_es6.js]
|
||
|
var C = (function () {
|
||
|
function C() {
|
||
|
;
|
||
|
}
|
||
|
return C;
|
||
|
})();
|