Returns an iterator that cycles indefinitely over the elements of iterable.
start
elements
Warning: Typical uses of the resulting iterator may produce an infinite loop. You should use an explicit break.
Optional
Returns an iterator that cycles indefinitely over the elements of iterable.
start
is given it starts the iteration from that element. Otherwise, it starts with the first element of the array.start
is given, it must contain by theelements
array. Otherwise, an error will be thrown.Warning: Typical uses of the resulting iterator may produce an infinite loop. You should use an explicit break.