()
| 13 | } |
| 14 | |
| 15 | const iterableThatFailsAfterZero = (): Iterable<number> => ({ |
| 16 | [Symbol.iterator]: function*() { |
| 17 | yield 2 |
| 18 | yield 0 |
| 19 | throw new Error("iteration continued past zero") |
| 20 | } |
| 21 | }) |
| 22 | |
| 23 | describe("Number", () => { |
| 24 | it("re-exports the global Number constructor", () => { |