getify / Functional-Light-JS

Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
http://FLJSBook.com
Other
16.6k stars 1.96k forks source link

fix randInRange to be inclusive of the upper bound #162

Open ItaHeld90 opened 6 years ago

ItaHeld90 commented 6 years ago

In continuation to the conversation in PR #161, This PR changes the randInRange to be inclusive of the upper bound as intended in its usages.