length = length || array.length;
this.hasNext = true; // Use to identify if there's another element.
this.peek = null; // Use for look-ahead
length = length || array.length;
this.hasNext = true; // Use to identify if there's another element.
this.peek = null; // Use for look-ahead