- 반복문 범위 수정: y 루프 5~20 → 0~1000

This commit is contained in:
Insub Kim 2025-04-23 21:12:07 +09:00
parent 332dd12bb0
commit 9f3cb0be3e

View File

@ -164,7 +164,7 @@ async function main() {
secondArray = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; secondArray = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
} }
for (let x = 0; x < secondArray.length; x++) { for (let x = 0; x < secondArray.length; x++) {
for (let y = 5; y < 20; y++) { for (let y = 0; y < 1000; y++) {
const rtnval = y.toString().padStart(3, '0'); const rtnval = y.toString().padStart(3, '0');
const kiscode = firstArray[i] + secondArray[x] + rtnval; const kiscode = firstArray[i] + secondArray[x] + rtnval;
const url = `${baseUrl}${kiscode}`; const url = `${baseUrl}${kiscode}`;