2016-06-23 12:47:54 -04:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 15:08:49 -04:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-06-23 12:47:54 -04:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2019-01-09 16:49:16 -05:00
|
|
|
import {getSymbolIterator} from '@angular/core/src/util/symbol';
|
2015-05-26 20:12:38 -04:00
|
|
|
|
|
|
|
export class TestIterable {
|
2015-08-28 14:29:19 -04:00
|
|
|
list: number[];
|
2020-04-13 19:40:21 -04:00
|
|
|
constructor() {
|
|
|
|
this.list = [];
|
|
|
|
}
|
2015-05-26 20:12:38 -04:00
|
|
|
|
2020-04-13 19:40:21 -04:00
|
|
|
[getSymbolIterator()]() {
|
|
|
|
return (this.list as any)[getSymbolIterator()]();
|
|
|
|
}
|
2015-05-26 20:12:38 -04:00
|
|
|
}
|