大神看看我这代码哪里出了问题???
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Math </title>
<script type="text/javascript">
var i=Math.random()*10;
document.getElementsByTagName("button")[0].onclick=function(){
document.getElementsByTagName("button")[0].innerHTML=round(i)
}
</script>
</head>
<body>
<button>点击</button>
</body>
</html>
为什么点击没有变化呢