Skip to content

Commit

Permalink
fix typos in randomInt method
Browse files Browse the repository at this point in the history
  • Loading branch information
suryapratapsinghsuryavanshi committed Mar 19, 2022
1 parent 6538b9e commit df5fb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ let token = () => {
*
* @param {Number} min a minimum range
* @param {Number} max a maximum range
* @returns return `random` vlaue between min to max.
* @returns Return a `random` value between min to max provided, both are inclusive.
*/
let randomInt = (min, max) => Math.floor(Math.random() * (max - min + 1) + min);

Expand Down

0 comments on commit df5fb7e

Please sign in to comment.