Browse Source

[docs] Explain "next"

master
Muthu Kumar 7 years ago
committed by GitHub
parent
commit
3c7a53f987
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      README.md

5
README.md

@ -23,6 +23,11 @@ In the browser:
## Usage
```JavaScript
// Initialise a new InfiniteList using the constructor.
// `start` is any value.
// `next` is a pure function that accepts current
// (and optionally previous) value in the series
const infinity = new InfiniteList(<start>, <next>);
// Gets item at index

Loading…
Cancel
Save