()
| 448 | (function testReturnFromClassLiteral() { |
| 449 | |
| 450 | function usingYieldInBody() { |
| 451 | function* foo() { |
| 452 | class C { |
| 453 | [yield]() {} |
| 454 | } |
| 455 | } |
| 456 | var g = foo(); |
| 457 | g.next(); |
| 458 | return g.return(42).value; |
| 459 | } |
| 460 | assertEquals(42, usingYieldInBody()); |
| 461 | |
| 462 | function usingYieldInExtends() { |
no test coverage detected