Continues iterating through the input iterator a certain number of times. When the input iterator is done it returns { done: true, value: undefined } first before resuming back to the beginning again.
iterator
{ done: true, value: undefined }
Protected
Rest
Continues iterating through the input
iterator
a certain number of times. When the input iterator is done it returns{ done: true, value: undefined }
first before resuming back to the beginning again.