8 lines
130 B
TypeScript
8 lines
130 B
TypeScript
//// [FunctionDeclaration10_es6.ts]
|
|
function * foo(a = yield => yield) {
|
|
}
|
|
|
|
//// [FunctionDeclaration10_es6.js]
|
|
yield;
|
|
{
|
|
}
|