'use strict'; function* progress(iterator) { for (const item of iterator) { yield item; } } exports.progress = progress;