src/basecounter.js
export default function basecounter(Counter) {
const counter = function (iterable = null) {
return new Counter(iterable);
};
counter.fromkeys = Counter.fromkeys;
return counter;
}
export default function basecounter(Counter) {
const counter = function (iterable = null) {
return new Counter(iterable);
};
counter.fromkeys = Counter.fromkeys;
return counter;
}