@fadihanna/randomnum
v1.0.9
Published
You can get a random number while passing two numbers to getRandom function. <br /> **First argument :** minimum number. <br /> **Second argument:** maximum number. <br />
Downloads
27
Readme
randomnum
You can get a random number while passing two numbers to getRandom function. First argument : minimum number. Second argument: maximum number.
Usage
import getRandom from "@fadihanna/randomnum";
const App = () => {
console.log(getRandom(0, 10)); // returns a number between 0 and 10.
};
export default App;