eggheadio-github / stack-overflow-copy-paste

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

Add LCM function #185

Closed lfidelino closed 6 years ago

lfidelino commented 6 years ago

For example, An input of 12 and 5 would return 60.

codecov-io commented 6 years ago

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #185   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          68     69    +1     
  Lines         258    262    +4     
=====================================
+ Hits          258    262    +4
Impacted Files Coverage Δ
src/lcm.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 e65bd26...441c294. Read the comment docs.

lfidelino commented 6 years ago

I kinda did the last commit wrong. Thanks for the help, though!