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