求出10---20的隨機數只能用random函
求出10---20的隨機數
<!doctype??html> <html> <head> <title></title> <meta?charset="utf-8"> </head> <body> </body> </html> <script?type="text/javascript"> document.write(Math.random?(10+20)+"<br>")
求出10---20的隨機數
<!doctype??html> <html> <head> <title></title> <meta?charset="utf-8"> </head> <body> </body> </html> <script?type="text/javascript"> document.write(Math.random?(10+20)+"<br>")
2016-09-28
舉報
2016-09-28
document.write(Math.random()*10+10+"<br>")