Skip to content

Commit

Permalink
[UPDATE] README.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Mar 3, 2015
1 parent df435a4 commit 8de38a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ Generates a linearly spaced index `array` from a subsequence `string`. `len` spe
``` javascript
var arr = indexspace( '[:]', 5 );
// returns [ 0, 1, 2, 3, 4 ]

arr = indexspace( '[:]', 0 );
// returns []
```

The subsequence `string` syntax is similar to Python's [slice](https://docs.python.org/2/tutorial/introduction.html) notation.
Expand Down

0 comments on commit 8de38a5

Please sign in to comment.