双重for循环案例 1.打印五行五列星星 var str=""; for(var i=1; i<=5; i++){ for(var j=1; j<=5; j++){ str = str + "☆"; } //如果一行打印完毕5个星星就要另起一行 加\n str = str + "\n"</