Browse Source

Merge branch 'master' of github.com:codefeathers/infinite

master
Muthu Kumar 7 years ago
parent
commit
02a1b548b7
  1. 5
      README.md

5
README.md

@ -23,6 +23,11 @@ In the browser:
## Usage ## Usage
```JavaScript ```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>); const infinity = new InfiniteList(<start>, <next>);
// Gets item at index // Gets item at index

Loading…
Cancel
Save