angular-cn/tools/transpiler/spec/fixtures/facade.es6

19 lines
296 B
Plaintext
Raw Normal View History

export class MapWrapper {
}
/**
* Generic iterable class to test for-of. Provides iteration of the given array.
*/
export class IterableList {
constructor(values) {
this.values = values;
}
*[Symbol.iterator]() {
for (var value of this.values) {
yield value;
}
}
}