有花不见叶
2016-07-11 18:22
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Math </title>
<script type="text/javascript">
var shu=document.write(Math.random()*10+"<br/>");
document.write(Math.round("shu"));
</script>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Math </title>
<script type="text/javascript">
var c=Math.random()*10;
var shu=document.write(c+"<br/>");
document.write(Math.round(c)+"<br/>");
</script>
</head>
<body>
</body>
</html>
JavaScript进阶篇
468061 学习 · 21891 问题
相似问题