Skip to content

Conversation

@michaelficarra
Copy link
Member

This is one of four possible behaviours.

  1. yield no values (empty iterator): current behaviour
  2. throw on .next(): throw on .next() when windows cannot yield at least 1 full window #14
  3. yield a single undersized window: yield an undersized window when windows cannot yield at least 1 full one #15
  4. pad with undefined: this PR

Closes #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

behavior of .windows when window size exceeds iterator length

3 participants