htc 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
..
.github 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
test 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
.eslintrc 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
.nycrc 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
CHANGELOG.md 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
LICENSE 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
README.md 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
index.d.ts 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás
tsconfig.json 7ca38fdcbb 善行少年PC端首次提交(基础版) há 10 meses atrás

README.md

stop-iteration-iterator Version Badge

github actions coverage License Downloads

npm badge

Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.

Usage

var stopIterationIterator = require('stop-iteration-iterator');

var s = new Set([1, 2]);

var iterator = stopIterationIterator(s.keys());

iterator.next(); // { done: false, value: 1 }

Tests

Simply clone the repo, npm install, and run npm test