bloody-iterator
0.0.0 • Public • Published
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
.
Dependencies (0)
Dev Dependencies (2)
Package Sidebar
Install
Weekly Downloads