0.0.0 • Published 12 years ago
bloody-iterator v0.0.0
iterator
install
$ npm install bloody-iteratorrequire
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
12 years ago