Javascriptはwhile文を利用して九九倍表を実現します.


<script>
      var str = "";var row =1;// while(row <10){
        str +="";// var col =1;while(col < row +1){
          str +="";
          col++;}
        str +="";
        row++;}
      str +="
" + row + "*" + col + "=" + row * col + "
"
; document.body.innerHTML += str; </script>