console.log(Math.floor(Math.random() * 50));
this will return a random number between 0 and 50 . But i want a random number between 10 and 50 . How can i do this ? Please tell me .
(if there is some mistake in making you understand my question then i am sorry. i am new to community , so i don’t know much about how to do stuff here.)