This commit is contained in:
Daniel Imms
2016-12-24 03:17:30 -08:00
parent cc5ae8193b
commit d7f2ec89d7
2 changed files with 2 additions and 4 deletions
-1
View File
@@ -38,7 +38,6 @@ export class CircularList<T> {
}
public set length(newLength: number) {
// TODO: Is this auto fill is needed or can it be
if (newLength > this._length) {
for (let i = this._length; i < newLength; i++) {
this._array[i] = undefined;