TypeScript/tests/cases/compiler/generatorES6_5.ts
2015-04-09 22:57:13 -07:00

4 lines
59 B
TypeScript

// @target: es6
function* foo() {
yield a ? b : c;
}