aureooms/js-collections-counter

View on GitHub
src/basecounter.js

Summary

Maintainability
A
0 mins
Test Coverage

export default function basecounter ( Counter ) {

    const counter = function ( iterable = null ) {

        return new Counter( iterable ) ;

    } ;

    counter.fromkeys = Counter.fromkeys ;

    return counter ;

} ;