0.0.0 • Published 10 years ago
bloody-iterator v0.0.0
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