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