11 lines
259 B
JavaScript
11 lines
259 B
JavaScript
//// [for-of29.ts]
|
|
var iterableWithOptionalIterator: {
|
|
[Symbol.iterator]?(): Iterator<string>
|
|
};
|
|
|
|
for (var v of iterableWithOptionalIterator) { }
|
|
|
|
|
|
//// [for-of29.js]
|
|
var iterableWithOptionalIterator;
|
|
for (var v of iterableWithOptionalIterator) { }
|