为什么我输出的数字前面不会加0,这个数组没用么
!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
var marry =new Array(0,01,02,03,04,05,06,07,08,09,10)
var num =Math.random()*10;
document.write(marry[Math.round(num)]);
</script>
</body>
</html>