eggheadio-github / stack-overflow-copy-paste

Utility functions copy/pasted (and modified slightly) from Stack Overflow
441 stars 606 forks source link

feat(occurrences): add occurrences function with tests #187

Closed lwd369 closed 6 years ago

lwd369 commented 6 years ago

Making my first pull request: add occurrences function.

codecov-io commented 6 years ago

Codecov Report

Merging #187 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #187   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          69     70    +1     
  Lines         262    277   +15     
=====================================
+ Hits          262    277   +15
Impacted Files Coverage Δ
src/occurrences.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 97551ae...36fe9aa. Read the comment docs.