UNPKG

js2flowchart

Version:

> Why? While I've been working on [Under-the-hood-ReactJS](https://github.com/Bogdan-Lyashenko/Under-the-hood-ReactJS) I spent enormous amount of time on creating schemes. Each change in code or flowchart affects all entire scheme instantly, forcing you t

11 lines 222 B
export var buildIterator = function buildIterator(list) { return { index: 0, getNext: function getNext() { return list[this.index++]; }, reset: function reset() { this.index = 0; } }; };