We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4056f75 commit 4fc2be3Copy full SHA for 4fc2be3
L-B/0017 GenerateRandomNumber/RandomNumber.js
@@ -1,4 +1,4 @@
1
let min = 0;
2
let max = 10;
3
4
-console.log(Math.floor(Math.random() * (max - min + 1)) + min);
+const randNum = Math.floor(Math.random() * (max - min + 1)) + min
0 commit comments