8 lines
113 B
TypeScript
8 lines
113 B
TypeScript
//// [FunctionDeclaration5_es6.ts]
|
|
function*foo(yield) {
|
|
}
|
|
|
|
//// [FunctionDeclaration5_es6.js]
|
|
yield;
|
|
{
|
|
}
|