哪位前辈帮我看下,看看我写的这段代码有没有问题
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Math </title>
<script type="text/javascript">
var ran=Math.random(()*10);
document.write(Math.round(ran));
</script>
</head>
<body>
</body>
</html>