用JS输出正方形var len = prompt("输入正方形的行数", 0)len = len >10 ? 10 : lenfor(var i = 0i <leni++){for(var j = 0j &2023-02-20JavaScript160