Surpress log
This commit is contained in:
@@ -38,30 +38,30 @@ const enemyIdList = [
|
|||||||
// }, []),
|
// }, []),
|
||||||
]
|
]
|
||||||
|
|
||||||
console.log(
|
// console.log(
|
||||||
times((i) => i + 65, 26)
|
// times((i) => i + 65, 26)
|
||||||
.reduce<[number, number][]>((array, first) => {
|
// .reduce<[number, number][]>((array, first) => {
|
||||||
array.push(
|
// array.push(
|
||||||
...times((i) => i + 65, 26).map<[number, number]>((second) => [
|
// ...times((i) => i + 65, 26).map<[number, number]>((second) => [
|
||||||
first,
|
// first,
|
||||||
second,
|
// second,
|
||||||
])
|
// ])
|
||||||
)
|
// )
|
||||||
return array
|
// return array
|
||||||
}, [])
|
// }, [])
|
||||||
.map(([first, second]) => {
|
// .map(([first, second]) => {
|
||||||
return String.fromCharCode(first) + String.fromCharCode(second)
|
// return String.fromCharCode(first) + String.fromCharCode(second)
|
||||||
})
|
// })
|
||||||
.reduce<string[]>((idList, prefix) => {
|
// .reduce<string[]>((idList, prefix) => {
|
||||||
idList.push(
|
// idList.push(
|
||||||
...times((i) => i + 10, 1).map((i) => {
|
// ...times((i) => i + 10, 1).map((i) => {
|
||||||
const stringified = i.toString()
|
// const stringified = i.toString()
|
||||||
return `${prefix}_${'0'.repeat(3 - stringified.length) + stringified}`
|
// return `${prefix}_${'0'.repeat(3 - stringified.length) + stringified}`
|
||||||
})
|
// })
|
||||||
)
|
// )
|
||||||
return idList
|
// return idList
|
||||||
}, [])
|
// }, [])
|
||||||
)
|
// )
|
||||||
|
|
||||||
// console.log(
|
// console.log(
|
||||||
// times(i => i + 65, 26).map(code => {
|
// times(i => i + 65, 26).map(code => {
|
||||||
|
|||||||
Reference in New Issue
Block a user