Skip to content

Commit 4fc2be3

Browse files
authored
Update RandomNumber.js
1 parent 4056f75 commit 4fc2be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
let min = 0;
22
let max = 10;
33

4-
console.log(Math.floor(Math.random() * (max - min + 1)) + min);
4+
const randNum = Math.floor(Math.random() * (max - min + 1)) + min

0 commit comments

Comments
 (0)