js打印三角形

  1. 利用嵌套for循环实现正三角形和倒三角形效果。
  2. 可设置高度
原文地址:https://www.cnblogs.com/stardreams/p/12354262.html