0.0.0 • Published 10 years ago

bloody-iterator v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

iterator

browser support

https://travis-ci.org/bloodyowl/iterator

install

$ npm install bloody-iterator

require

var iterator = require("bloody-iterator")

api

iterator() -> next

returns a function that returns the next element in the array at each call.

when the next() is done iterating, it returns null.

calls after the end will throw a RangeError.

0.0.0

10 years ago