Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function DistinctIterator(source, options) {
if (!(this instanceof DistinctIterator))
return new DistinctIterator(source, options);
SimpleTransformIterator.call(this, source, options);
this._uniques = Object.create(null);
}
SimpleTransformIterator.subclass(DistinctIterator);