注意代码的运行顺序;

for(i = 0 ; i<9 ; i++){
for(j = 0 ; j<i-1 ; j++){
document.write("*")//**内层循环
}
document.write("
")
}外层循环

相关文章:

  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2021-06-04
相关资源
相似解决方案