?? [?r?nd?m] US [?r?nd?m]
adj.Random; ???
n.???? ??
?????? ???() ??? ???
??: 0~1 ??? ??? ??? ?????.
??: ??Math.random()
??: 0.0 ~ 1.0 ??? ?? ??.
?????? ???() ??? ?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> //取得介于 0 到 1 之間的一個隨機數(shù) document.write(Math.random()) </script> </body> </html>
???? ?? ?
??? ????? ??? "???? ??" ??? ?????