- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
17 lines
416 B
JavaScript
17 lines
416 B
JavaScript
'use strict';
|
|
var iteratorClose = require('../internals/iterator-close');
|
|
|
|
module.exports = function (iters, kind, value) {
|
|
for (var i = iters.length - 1; i >= 0; i--) {
|
|
if (iters[i] === undefined) continue;
|
|
try {
|
|
value = iteratorClose(iters[i].iterator, kind, value);
|
|
} catch (error) {
|
|
kind = 'throw';
|
|
value = error;
|
|
}
|
|
}
|
|
if (kind === 'throw') throw value;
|
|
return value;
|
|
};
|