Javascript random number between 1 and 10 in javascript
Answers
Answered by
3
Answer:
Hey this is your JavaScript program...
let randNum = Math.floor(Math.random() * 10) + 1
document.write(randNum)
// Hope this helps!!
Answered by
1
var number =
Math(Math.random() 10) + 1
Similar questions