mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7b9a082c92
We are targeting evergreen browsers, we can drop the shim. PR Close #49207
19 lines
363 B
TypeScript
19 lines
363 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export class TestIterable {
|
|
list: number[];
|
|
constructor() {
|
|
this.list = [];
|
|
}
|
|
|
|
[Symbol.iterator]() {
|
|
return this.list[Symbol.iterator]();
|
|
}
|
|
}
|