bloody-iterator

0.0.0 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i bloody-iterator

    Weekly Downloads

    1

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • bloodyowl