Class: Iterator

sjl.stdlib. Iterator


new Iterator(values)

Es6 compliant iterator constructor with some convenience methods; I.e., `valid`, `rewind`, `current`, and `forEach`.
Parameters:
Name Type Description
values Array Values to iterate through.

Extends