javascript 小问
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
</head>
<body>
<script language="javascript" type="text/javascript">
function writeTimesTable(timesTable,timesByStart,timesByEnd)
{
for(;timesStart <= timesByEnd;timesByStart++)
{
document.write(timesTable +"*" +timesByStart +"="+timesByStart*timesTable+"<br>");
}
}
writeTimesTable(4,4,9);
</script>
</body>
</html>看看哪里有错没为啥在浏览器中不显示啊
------解决方案--------------------
timesStart > 为 timesByStart
for(;timesByStart <= timesByEnd;timesByStart++)
查询谷 - www.chaxungu.com
javascript 小问,该怎么解决
编辑:chaxungu时间:2022-10-02 23:15:33分类:web开发