const tmp = Array.from({length:1000}, (_, i)=>`${++i} в квадрате: ${Math.pow(i, 2)}`); console.log(tmp.join("\n"));