Generating random number from particular given range

PHOTO EMBED

Sat Oct 09 2021 14:25:06 GMT+0000 (UTC)

Saved by @karthikbt22 #undefined #javascript

var k = 0;
 console.log(Math.floor(Math.random()*10))
content_copyCOPY

Random number

https://jsbin.com/