var i;for(i=10; i>=0; i= i-1){ var s; for(s=0; s<i; s = s+1){ document.write("*"); } //i want this to print a new line /document.write(?);}我正在打印星空金字塔,無法打印新行。
如何在JavaScript中創建新行?
LEATH
2019-12-12 14:10:53