关于document的输出问题
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Math </title>
<script type="text/javascript">
var num = document.write(Math.random()*10+"<br>");
document.write(Math.round(Math.random()*10)+"<br>");
document.write(Math.round(num));
</script>
</head>
<body>
</body>
</html>
最后一个输出为什么是NaN啊