I found a difficulty to generate random number in JS. I dun know what’s the exact coding to require the math module and use it.
Could I get some help? Thanks!
I found a difficulty to generate random number in JS. I dun know what’s the exact coding to require the math module and use it.
Could I get some help? Thanks!
http://www.w3schools.com/jsref/jsref_random.asp
Math.random();
Thank you. I found that I made a careless mistake to use it and that’s why I encountered the difficulty. Sorry for taking your precious time.