6 lines
No EOL
150 B
TypeScript
6 lines
No EOL
150 B
TypeScript
//@target: ES6
|
|
function* g2(): Iterator<() => Iterable<(x: string) => number>> {
|
|
yield function* () {
|
|
yield x => x.length;
|
|
} ()
|
|
} |