一、JavaScript思维导图:
二、利用JavaScript循环语句打印乘法口诀包
<script type="text/javascript" charset="utf-8">
for (var i = 1; i < 10; i++) {
document.write("<table>");
document.write("<tr>");
for (var j = 1; j <= i; j++) {
document.write("<td style='border:1px solid black;'>");
document.write(j + "*" + i + "=" + (i * j));
document.write("</td>");
}
document.write("</tr>");
document.write("</table>");
}
</script>